diff options
author | David Shaw <[email protected]> | 2004-04-14 17:56:23 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-04-14 17:56:23 +0000 |
commit | 2286674b9e2cb247ef271aa63ddbaa07b0845166 (patch) | |
tree | cfe0740e6bb1ea4ddceb8beb0fe8006575b53a77 /g10/mainproc.c | |
parent | * gpg.sgml: Document delsig. Clarify that --refresh-keys arguments are (diff) | |
download | gnupg-2286674b9e2cb247ef271aa63ddbaa07b0845166.tar.gz gnupg-2286674b9e2cb247ef271aa63ddbaa07b0845166.zip |
* options.h: Encapsulate keyserver details. Change all callers.
Diffstat (limited to '')
-rw-r--r-- | g10/mainproc.c | 8 |
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. */ |