From d20a79dd07c6e9f69d0d2a9f99fe1a4697a16731 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 15 Apr 2004 18:16:17 +0000 Subject: * 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. --- g10/mainproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/mainproc.c') 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 ); -- cgit