diff options
author | Neal H. Walfield <neal@g10code.com> | 2015-11-17 12:55:42 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@g10code.com> | 2015-11-17 14:53:03 +0100 |
commit | ad9befab12376b3a49cde410996ac9f0013d0871 (patch) | |
tree | ca660fec2392b97f6b1055eade50957f2d189d89 /g10/t-keydb-get-keyblock.gpg | |
parent | gpg: Add some debugging output. (diff) | |
download | gnupg2-ad9befab12376b3a49cde410996ac9f0013d0871.tar.xz gnupg2-ad9befab12376b3a49cde410996ac9f0013d0871.zip |
gpg: Correctly handle keyblocks followed by legacy keys.
* g10/keyring.c (keyring_get_keyblock): If we encounter a legacy
packet after already having some non-legacy packets, then treat the
legacy packet as a keyblock boundary, not as part of the keyblock.
* g10/t-keydb-get-keyblock.c: New file.
* g10/t-keydb-get-keyblock.gpg: New file.
* g10/Makefile.am (EXTRA_DIST): Add t-keydb-get-keyblock.gpg.
(module_tests): Add t-keydb-get-keyblock.
(t_keydb_get_keyblock_SOURCES): New variable.
(t_keydb_get_keyblock_LDADD): Likewise.
--
Signed-off-by: Neal H. Walfield
GnuPG-bug-id: 2151
Diffstat (limited to 'g10/t-keydb-get-keyblock.gpg')
-rw-r--r-- | g10/t-keydb-get-keyblock.gpg | bin | 0 -> 138824 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/g10/t-keydb-get-keyblock.gpg b/g10/t-keydb-get-keyblock.gpg Binary files differnew file mode 100644 index 000000000..521487e5f --- /dev/null +++ b/g10/t-keydb-get-keyblock.gpg |