aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-06-05 02:06:12 +0000
committerDavid Shaw <[email protected]>2003-06-05 02:06:12 +0000
commit4d3fecee56365d70c6ca99739ee82ea43a08c27c (patch)
tree2da58d00b4ea9902c3992839da5a2ff739315e44 /g10/mainproc.c
parentUpdate error handling to match gpg-error in CVS. (diff)
downloadgnupg-4d3fecee56365d70c6ca99739ee82ea43a08c27c.tar.gz
gnupg-4d3fecee56365d70c6ca99739ee82ea43a08c27c.zip
* options.skel: Use new hkp://subkeys.pgp.net as sample keyserver since
they at least handle subkeys correctly. * options.h, g10.c (main), main.h, keylist.c (show_keyserver_url), mainproc.c (check_sig_and_print), parse-packet.c (dump_sig_subpkt, parse_one_sig_subpkt, can_handle_critical): Add read-only support for preferred keyserver subpackets. They're basically policy URLs with a different name. Add a verify-option "show-preferred-keyserver" to turn them on and off (on by default, as per stable branch). * g10.c (main): Add "--set-notation" as alias to "--notation-data" this is to make things consistent with --set-policy-url meaning both sigs and certs.
Diffstat (limited to '')
-rw-r--r--g10/mainproc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index ec812d757..9b091b222 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -1411,6 +1411,11 @@ check_sig_and_print( CTX c, KBNODE node )
show_notation(sig,0,1);
else
show_notation(sig,0,2);
+
+ if(opt.verify_options&VERIFY_SHOW_KEYSERVER)
+ show_keyserver_url(sig,0,1);
+ else
+ show_keyserver_url(sig,0,2);
}
if( !rc && is_status_enabled() ) {