aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-04-15 18:16:17 +0000
committerDavid Shaw <[email protected]>2004-04-15 18:16:17 +0000
commitd20a79dd07c6e9f69d0d2a9f99fe1a4697a16731 (patch)
treef9c6adfbfbc9ebdcff0124d3cc823ee8c6d3da06 /g10/mainproc.c
parent* packet.h, getkey.c (fixup_uidnode, merge_selfsigs_subkey): Keep track of (diff)
downloadgnupg-d20a79dd07c6e9f69d0d2a9f99fe1a4697a16731.tar.gz
gnupg-d20a79dd07c6e9f69d0d2a9f99fe1a4697a16731.zip
* options.h, keyserver.c (parse_keyserver_options): Remove duplicate code
from parse_keyserver_options by calling the generic parse_options. * keyserver.c (keyserver_spawn, keyserver_refresh), g10.c (main), gpgv.c (main), mainproc.c (check_sig_and_print), import.c (revocation_present): Change all callers.
Diffstat (limited to '')
-rw-r--r--g10/mainproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 0d2066a0f..70b45b9a1 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -1346,7 +1346,7 @@ check_sig_and_print( CTX c, KBNODE node )
rc = do_check_sig(c, node, NULL, &is_expkey, &is_revkey );
if( rc == G10ERR_NO_PUBKEY && opt.keyserver
- && opt.keyserver_options.auto_key_retrieve)
+ && (opt.keyserver_options.options&KEYSERVER_AUTO_KEY_RETRIEVE))
{
if( keyserver_import_keyid ( sig->keyid )==0 )
rc = do_check_sig(c, node, NULL, &is_expkey, &is_revkey );