mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Merge branch 'STABLE-BRANCH-2-2' into master
-- Resolved Conflicts: NEWS - removed configure.ac - removed Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
commit
7b7576637d
73 changed files with 3270 additions and 3583 deletions
|
@ -429,6 +429,7 @@ enum cmd_and_opt_values
|
|||
oSender,
|
||||
oKeyOrigin,
|
||||
oRequestOrigin,
|
||||
oNoSymkeyCache,
|
||||
|
||||
oNoop
|
||||
};
|
||||
|
@ -902,6 +903,7 @@ static ARGPARSE_OPTS opts[] = {
|
|||
ARGPARSE_s_s (oAutoKeyLocate, "auto-key-locate", "@"),
|
||||
ARGPARSE_s_n (oNoAutoKeyLocate, "no-auto-key-locate", "@"),
|
||||
ARGPARSE_s_n (oNoAutostart, "no-autostart", "@"),
|
||||
ARGPARSE_s_n (oNoSymkeyCache, "no-symkey-cache", "@"),
|
||||
|
||||
/* Dummy options with warnings. */
|
||||
ARGPARSE_s_n (oUseAgent, "use-agent", "@"),
|
||||
|
@ -3624,6 +3626,7 @@ main (int argc, char **argv)
|
|||
break;
|
||||
|
||||
case oNoAutostart: opt.autostart = 0; break;
|
||||
case oNoSymkeyCache: opt.no_symkey_cache = 1; break;
|
||||
|
||||
case oDefaultNewKeyAlgo:
|
||||
opt.def_new_key_algo = pargs.r.ret_str;
|
||||
|
@ -5214,7 +5217,7 @@ g10_exit( int rc )
|
|||
/* If we had an error but not printed an error message, do it now.
|
||||
* Note that write_status_failure will never print a second failure
|
||||
* status line. */
|
||||
if (log_get_errorcount (0))
|
||||
if (rc)
|
||||
write_status_failure ("gpg-exit", gpg_error (GPG_ERR_GENERAL));
|
||||
|
||||
gcry_control (GCRYCTL_UPDATE_RANDOM_SEED_FILE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue