summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephen Paul Weber <singpolyma@singpolyma.net>2013-08-10 13:34:54 -0500
committerStephen Paul Weber <singpolyma@singpolyma.net>2013-08-10 13:35:06 -0500
commit66e02f12198b4c9497d6193920ff80bc13551821 (patch)
treece52cea3f5643b9a2a2c0089f1865150da66f3d7 /tests
parentbdc1636bf130c46bbc5ce550d737e6dabe80a059 (diff)
Fix bug in parsing signature subpacket lengths.
Diffstat (limited to 'tests')
-rw-r--r--tests/data/3F5BBA0B0694BEB6000005-002.sigbin0 -> 1089 bytes
-rw-r--r--tests/data/3F5BBA0B0694BEB6000017-002.sigbin0 -> 1089 bytes
-rw-r--r--tests/suite.hs2
3 files changed, 2 insertions, 0 deletions
diff --git a/tests/data/3F5BBA0B0694BEB6000005-002.sig b/tests/data/3F5BBA0B0694BEB6000005-002.sig
new file mode 100644
index 0000000..94055af
--- /dev/null
+++ b/tests/data/3F5BBA0B0694BEB6000005-002.sig
Binary files differ
diff --git a/tests/data/3F5BBA0B0694BEB6000017-002.sig b/tests/data/3F5BBA0B0694BEB6000017-002.sig
new file mode 100644
index 0000000..b22f23b
--- /dev/null
+++ b/tests/data/3F5BBA0B0694BEB6000017-002.sig
Binary files differ
diff --git a/tests/suite.hs b/tests/suite.hs
index 4bee6d6..cb4f4aa 100644
--- a/tests/suite.hs
+++ b/tests/suite.hs
@@ -145,6 +145,8 @@ tests =
145 testCase "uncompressed-ops-dsa.gpg" (testSerialization "uncompressed-ops-dsa.gpg"), 145 testCase "uncompressed-ops-dsa.gpg" (testSerialization "uncompressed-ops-dsa.gpg"),
146 testCase "uncompressed-ops-dsa-sha384.txt.gpg" (testSerialization "uncompressed-ops-dsa-sha384.txt.gpg"), 146 testCase "uncompressed-ops-dsa-sha384.txt.gpg" (testSerialization "uncompressed-ops-dsa-sha384.txt.gpg"),
147 testCase "uncompressed-ops-rsa.gpg" (testSerialization "uncompressed-ops-rsa.gpg"), 147 testCase "uncompressed-ops-rsa.gpg" (testSerialization "uncompressed-ops-rsa.gpg"),
148 testCase "3F5BBA0B0694BEB6000005-002.sig" (testSerialization "3F5BBA0B0694BEB6000005-002.sig"),
149 testCase "3F5BBA0B0694BEB6000017-002.sig" (testSerialization "3F5BBA0B0694BEB6000017-002.sig"),
148 testProperty "MPI encode/decode" prop_MPI_serialization_loop, 150 testProperty "MPI encode/decode" prop_MPI_serialization_loop,
149 testProperty "S2K encode/decode" prop_S2K_serialization_loop, 151 testProperty "S2K encode/decode" prop_S2K_serialization_loop,
150 testProperty "SignatureSubpacket encode/decode" prop_SignatureSubpacket_serialization_loop 152 testProperty "SignatureSubpacket encode/decode" prop_SignatureSubpacket_serialization_loop