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/InvalidIntCAKeyUsage.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/InvalidIntCAKeyUsage.pem')
-rw-r--r-- | src/tests/data/x509test/InvalidIntCAKeyUsage.pem | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/src/tests/data/x509test/InvalidIntCAKeyUsage.pem b/src/tests/data/x509test/InvalidIntCAKeyUsage.pem new file mode 100644 index 000000000..46ea7094f --- /dev/null +++ b/src/tests/data/x509test/InvalidIntCAKeyUsage.pem @@ -0,0 +1,97 @@ +-----BEGIN CERTIFICATE----- +MIIDADCCAmmgAwIBAgICBWswDQYJKoZIhvcNAQEFBQAwgckxCzAJBgNVBAYTAlVT +MQswCQYDVQQIDAJDQTEYMBYGA1UEBwwPU2FuIEx1aXMgT2Jpc3BvMS4wLAYDVQQK +DCVDZXJ0aWZpY2F0ZSBWYWxpZGF0aW9uIGFuZCBDb21wbGlhbmNlMSIwIAYDVQQL +DBlYNTA5IFZlcmlmaWNhdGlvbiBDaGVja2VyMR4wHAYDVQQDDBVpbnQubGV2My5j +YS5hdXRob3JpdHkxHzAdBgkqhkiG9w0BCQEWEHNvbWVvbmVAbWFpbC5jb20wHhcN +MTUxMDIwMTYyMDI3WhcNMTYxMDIxMTYyMDI3WjCBwDELMAkGA1UEBhMCVVMxCzAJ +BgNVBAgMAkNBMRgwFgYDVQQHDA9TYW4gTHVpcyBPYmlzcG8xLjAsBgNVBAoMJUNl +cnRpZmljYXRlIFZhbGlkYXRpb24gYW5kIENvbXBsaWFuY2UxIjAgBgNVBAsMGVg1 +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