mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* options.h, g10.c (main), mainproc.c (proc_encrypted): Return a
decryption failed error if a MDC does not verify. Warn if a MDC is not present (can disable via --no-mdc-warning). * exec.c (exec_write), g10.c (main), keyserver.c (keyserver_spawn): Use new DISABLE_KEYSERVER_PATH rather than FIXED_EXEC_PATH.
This commit is contained in:
parent
1f703dadd1
commit
928dba9e70
6 changed files with 23 additions and 9 deletions
|
@ -339,13 +339,16 @@ keyserver_spawn(int action,STRLIST list,
|
|||
opt.keyserver_options.use_temp_files=1;
|
||||
#endif
|
||||
|
||||
#ifndef FIXED_EXEC_PATH
|
||||
/* Push the libdir into path */
|
||||
/* Push the libexecdir into path. If DISABLE_KEYSERVER_PATH is set,
|
||||
use the 0 arg to replace the path. */
|
||||
#ifdef DISABLE_KEYSERVER_PATH
|
||||
set_exec_path(GNUPG_LIBEXECDIR,0);
|
||||
#else
|
||||
set_exec_path(GNUPG_LIBEXECDIR,opt.exec_path_set);
|
||||
#endif
|
||||
|
||||
/* Build the filename for the helper to execute */
|
||||
|
||||
/* Build the filename for the helper to execute */
|
||||
command=m_alloc(strlen("gpgkeys_")+strlen(opt.keyserver_scheme)+1);
|
||||
strcpy(command,"gpgkeys_");
|
||||
strcat(command,opt.keyserver_scheme);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue