diff options
author | Jack Lloyd <[email protected]> | 2015-10-23 15:32:15 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-10-23 15:32:15 -0400 |
commit | 3e44cbed78eb528daa38f9837d67aa0471ee7bd2 (patch) | |
tree | 01539aa0dd511db79e6d218394ea3fd51db94756 /src/tests/data/x509test/InvalidIntCAVersionOne.pem | |
parent | 69a5a56b38a309241126641149471a36137507a0 (diff) |
Fix cert validation bugs found by x509test.
Add test suite with certs from x509test
Diffstat (limited to 'src/tests/data/x509test/InvalidIntCAVersionOne.pem')
-rw-r--r-- | src/tests/data/x509test/InvalidIntCAVersionOne.pem | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/src/tests/data/x509test/InvalidIntCAVersionOne.pem b/src/tests/data/x509test/InvalidIntCAVersionOne.pem new file mode 100644 index 000000000..135b25929 --- /dev/null +++ b/src/tests/data/x509test/InvalidIntCAVersionOne.pem @@ -0,0 +1,97 @@ +-----BEGIN CERTIFICATE----- +MIIDADCCAmmgAwIBAgICBXMwDQYJKoZIhvcNAQEFBQAwgckxCzAJBgNVBAYTAlVT +MQswCQYDVQQIDAJDQTEYMBYGA1UEBwwPU2FuIEx1aXMgT2Jpc3BvMS4wLAYDVQQK +DCVDZXJ0aWZpY2F0ZSBWYWxpZGF0aW9uIGFuZCBDb21wbGlhbmNlMSIwIAYDVQQL +DBlYNTA5IFZlcmlmaWNhdGlvbiBDaGVja2VyMR4wHAYDVQQDDBVpbnQubGV2My5j +YS5hdXRob3JpdHkxHzAdBgkqhkiG9w0BCQEWEHNvbWVvbmVAbWFpbC5jb20wHhcN +MTUxMDIwMTYyMDI4WhcNMTYxMDIxMTYyMDI4WjCBwDELMAkGA1UEBhMCVVMxCzAJ +BgNVBAgMAkNBMRgwFgYDVQQHDA9TYW4gTHVpcyBPYmlzcG8xLjAsBgNVBAoMJUNl +cnRpZmljYXRlIFZhbGlkYXRpb24gYW5kIENvbXBsaWFuY2UxIjAgBgNVBAsMGVg1 +MDkgVm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