aboutsummaryrefslogtreecommitdiffstats
path: root/g10/parse-packet.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-08-26 03:56:47 +0000
committerDavid Shaw <[email protected]>2003-08-26 03:56:47 +0000
commit68aa60e79c080620cb0c95cd6992b8bb0656cf63 (patch)
treee91c32499a2c1404bb60d8d0f1ef3d5c33d1734d /g10/parse-packet.c
parent* NEWS: Note %g and %p, the "tru" --with-colons record, and the REVKEYSIG (diff)
downloadgnupg-68aa60e79c080620cb0c95cd6992b8bb0656cf63.tar.gz
gnupg-68aa60e79c080620cb0c95cd6992b8bb0656cf63.zip
* mainproc.c (check_sig_and_print): Use two different preferred keyserver
displays - one if the key is not present (to tell the user where to get the key), the other if it is present (to tell the user where the key can be refreshed). * packet.h, parse-packet.c (parse_signature): Set flag if a preferred keyserver is present. * keylist.c (list_keyblock_print): Show keyserver url in listings with list-option show-keyserver-url.
Diffstat (limited to '')
-rw-r--r--g10/parse-packet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index 1ba8f3239..0831d26f4 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -1305,6 +1305,10 @@ parse_signature( IOBUF inp, int pkttype, unsigned long pktlen,
if(p)
sig->flags.policy_url=1;
+ p=parse_sig_subpkt(sig->hashed,SIGSUBPKT_PREF_KS,NULL);
+ if(p)
+ sig->flags.pref_ks=1;
+
p=parse_sig_subpkt(sig->hashed,SIGSUBPKT_NOTATION,NULL);
if(p)
sig->flags.notation=1;