aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/mainproc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 30e56fd5a..c6a44f196 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -1345,10 +1345,12 @@ check_sig_and_print( CTX c, KBNODE node )
keystr(sig->keyid));
rc = do_check_sig(c, node, NULL, &is_expkey, &is_revkey );
- if( rc == G10ERR_NO_PUBKEY && opt.keyserver_scheme && opt.keyserver_options.auto_key_retrieve) {
+ if( rc == G10ERR_NO_PUBKEY && opt.keyserver.scheme
+ && opt.keyserver_options.auto_key_retrieve)
+ {
if( keyserver_import_keyid ( sig->keyid )==0 )
- rc = do_check_sig(c, node, NULL, &is_expkey, &is_revkey );
- }
+ rc = do_check_sig(c, node, NULL, &is_expkey, &is_revkey );
+ }
/* If the key still isn't found, try to inform the user where it
can be found. */