diff options
author | David Shaw <[email protected]> | 2004-04-23 03:25:58 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-04-23 03:25:58 +0000 |
commit | 732f049817b081ee90a70f6e9d61c4dac8fbb5c6 (patch) | |
tree | aefacaec381f8da473e5ab8ddda4923b60460d39 /g10/parse-packet.c | |
parent | * parse-packet.c (dump_sig_subpkt, parse_one_sig_subpkt, (diff) | |
download | gnupg-732f049817b081ee90a70f6e9d61c4dac8fbb5c6.tar.gz gnupg-732f049817b081ee90a70f6e9d61c4dac8fbb5c6.zip |
* keygen.c (make_backsig): If DO_BACKSIGS is not defined, do not create
backsigs.
* getkey.c (merge_selfsigs_subkey): Find 0x19 backsigs on subkey selfsigs
and verify they are valid. If DO_BACKSIGS is not defined, fake this as
always valid.
* packet.h, parse-packet.c (parse_signature): Make parse_signature
non-static so we can parse 0x19s in self-sigs.
* main.h, sig-check.c (check_backsig): Check a 0x19 signature.
(signature_check2): Give a backsig warning if there is no or a bad 0x19
with signatures from a subkey.
Diffstat (limited to '')
-rw-r--r-- | g10/parse-packet.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c index 4faf27f18..56a717725 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -56,8 +56,6 @@ static int parse_symkeyenc( IOBUF inp, int pkttype, unsigned long pktlen, PACKET *packet ); static int parse_pubkeyenc( IOBUF inp, int pkttype, unsigned long pktlen, PACKET *packet ); -static int parse_signature( IOBUF inp, int pkttype, unsigned long pktlen, - PKT_signature *sig ); static int parse_onepass_sig( IOBUF inp, int pkttype, unsigned long pktlen, PKT_onepass_sig *ops ); static int parse_key( IOBUF inp, int pkttype, unsigned long pktlen, @@ -1223,7 +1221,7 @@ void parse_revkeys(PKT_signature *sig) } } -static int +int parse_signature( IOBUF inp, int pkttype, unsigned long pktlen, PKT_signature *sig ) { |