1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* options.h: Encapsulate keyserver details. Change all callers.

This commit is contained in:
David Shaw 2004-04-14 17:56:23 +00:00
parent 975b83d9d0
commit 2286674b9e
6 changed files with 57 additions and 48 deletions

View file

@ -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. */