summaryrefslogtreecommitdiffstats
path: root/g10/t-keydb-get-keyblock.gpg
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@g10code.com>2015-11-17 12:55:42 +0100
committerNeal H. Walfield <neal@g10code.com>2015-11-17 14:53:03 +0100
commitad9befab12376b3a49cde410996ac9f0013d0871 (patch)
treeca660fec2392b97f6b1055eade50957f2d189d89 /g10/t-keydb-get-keyblock.gpg
parentgpg: Add some debugging output. (diff)
downloadgnupg2-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.gpgbin0 -> 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
new file mode 100644
index 000000000..521487e5f
--- /dev/null
+++ b/g10/t-keydb-get-keyblock.gpg
Binary files differ