gpg: Unfinished support for v5 signatures.
authorWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 14:18:27 +0000 (16:18 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 14:18:27 +0000 (16:18 +0200)
commit64a1e86fc06d89c980a196c61d2b6d77d167565e
tree9556ec306876f1d0357123d428c16c7ff7660b2d
parent3b88bceb4dc31e076da80987ce67260c62bc7a93
gpg: Unfinished support for v5 signatures.

* g10/parse-packet.c (parse_signature): Allow for v5 signatures.
* g10/sig-check.c (check_signature_end_simple): Support the 64bit v5
byte count.
* g10/sign.c (hash_sigversion_to_magic): Ditto.
(write_signature_packets): Request v5 sig for v5 keys.  Remove useless
condition.
(make_keysig_packet): Request v5 sig for v5 keys.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/build-packet.c
g10/parse-packet.c
g10/sig-check.c
g10/sign.c