* keygen.c (make_backsig): If DO_BACKSIGS is not defined, do not create
authorDavid Shaw <dshaw@jabberwocky.com>
Fri, 23 Apr 2004 03:25:58 +0000 (03:25 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Fri, 23 Apr 2004 03:25:58 +0000 (03:25 +0000)
commit732f049817b081ee90a70f6e9d61c4dac8fbb5c6
treeaefacaec381f8da473e5ab8ddda4923b60460d39
parent2bdb01e2e733e7d684268c8573fd7ac2c3fb2bad
* 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.
g10/ChangeLog
g10/getkey.c
g10/keygen.c
g10/main.h
g10/packet.h
g10/parse-packet.c
g10/sig-check.c