summaryrefslogtreecommitdiffstats
path: root/openpgp/tests
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-11-24 13:03:48 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-11-24 13:08:06 +0100
commit03598e4da99dbaf4c9f978e8f6f57ce3f6720b48 (patch)
tree18a7372a6061f713142143cc40d39910a9dc628b /openpgp/tests
parent3c73fe5152557048c5ed8f10efeeec4f080b356b (diff)
openpgp: Handle truncated armor prefixes.
- Fixes #618.
Diffstat (limited to 'openpgp/tests')
-rw-r--r--openpgp/tests/data/armor/test-3.with-headers-quoted-stripped.asc7
1 files changed, 7 insertions, 0 deletions
diff --git a/openpgp/tests/data/armor/test-3.with-headers-quoted-stripped.asc b/openpgp/tests/data/armor/test-3.with-headers-quoted-stripped.asc
new file mode 100644
index 00000000..47ceaf40
--- /dev/null
+++ b/openpgp/tests/data/armor/test-3.with-headers-quoted-stripped.asc
@@ -0,0 +1,7 @@
+> -----BEGIN PGP ARMORED FILE-----
+> Comment: Some Header
+> Comment: Another one
+>
+> NdWx
+> =oSKZ
+> -----END PGP ARMORED FILE-----