diff options
author | Jack Lloyd <[email protected]> | 2017-04-04 15:45:42 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-04-04 15:45:42 -0400 |
commit | 92f3ff5e27f6736d8a498e0d3144255c4ba37c8d (patch) | |
tree | c61436699e5afb8de2e8c3b7874c2040ec195263 /src/tests/data | |
parent | d4c3f6a3409ce0ad6520c13813310f6cb523fe6f (diff) |
Fix X509 DN comparisons
CVE-2017-2801
Diffstat (limited to 'src/tests/data')
-rw-r--r-- | src/tests/data/fuzz/x509/cve_2017_2801.der | bin | 0 -> 1410 bytes | |||
-rw-r--r-- | src/tests/data/x509_dn.vec | 14 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/data/fuzz/x509/cve_2017_2801.der b/src/tests/data/fuzz/x509/cve_2017_2801.der Binary files differnew file mode 100644 index 000000000..fe615d2c4 --- /dev/null +++ b/src/tests/data/fuzz/x509/cve_2017_2801.der diff --git a/src/tests/data/x509_dn.vec b/src/tests/data/x509_dn.vec new file mode 100644 index 000000000..ab9e2dec3 --- /dev/null +++ b/src/tests/data/x509_dn.vec @@ -0,0 +1,14 @@ + +[Equal] +DN1 = 301C310B3009060355040613025654310D300B0603550403130454455354 +DN2 = 301C310B3009060355040613025654310D300B0603550403130454455354 + +[Unequal] +DN1 = 301C310B3009060355040613025654310D300B0603550403130454450054 +DN2 = 301C310B3009060355040613025600310D300B0603550403130454455354 + +DN1 = 3019311730150603550403140E4141200141414141414141414141 +DN2 = 3019311730150603550403130E4141202020202020202020202020 + +DN1 = 3018311630140603550403130D41412041414141414141414141 +DN2 = 3019311730150603550403130E4141202020202020202020202020 |