Index: net/data/parse_certificate_unittest/serial_37_bytes.pem |
diff --git a/net/data/parse_certificate_unittest/serial_37_bytes.pem b/net/data/parse_certificate_unittest/serial_37_bytes.pem |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3a52b08a70cdef0e28baa1004503297ae85598bf |
--- /dev/null |
+++ b/net/data/parse_certificate_unittest/serial_37_bytes.pem |
@@ -0,0 +1,13 @@ |
+This cert has an invalid serial number which has is 37 bytes long (should be |
+<=20 bytes long). |
+ |
+The certificate data can be updated/regenerated with the |
+net/data/parse_certificate_unittest/regenerate_pem_from_ascii.py script. |
+ |
+#-----BEGIN SERIAL----- |
+ INTEGER { `0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425` } |
+#-----END SERIAL----- |
+ |
+-----BEGIN CERTIFICATE----- |
+MIICdDCCAd2gAwIBAgIlAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJTANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMB4XDTE0MDQyMzIwNTA0MFoXDTE3MDQyMjIwNTA0MFowRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA2CvIpjLkYv9N89CtWYtFp73xR78JWHsivTWulyWGlKCAwLQfdpFnRjHQEIS3Ih5wI5FyyOlteTqFd4APxJUWdcVKcUzIYz+j8mOcKk+a+svBcW4ohSigJx5lHK4H1VtvLUPtK5CxjK8kba7pFzoFwb+4HK5lOxtYwtmu1qpniPECAwEAAaNQME4wHQYDVR0OBBYEFIt11azLCL4OH2W3+la+bKd12oWvMB8GA1UdIwQYMBaAFIt11azLCL4OH2W3+la+bKd12oWvMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAO+h4bZXWPWr3ExksG8KIriKr9I0y9XxxZ88t0RzCw4fi6b6JXOQ0q0iRwj+VritHniV4a0+aEKRy/c/3AgywCgikWuLldH4RHTlgaskfafMuYybcnu9regrhVFeYqnKReAR+H49lTR8LEqycJA+EFBpVLR+78J0JsghcWTJlgCY= |
+-----END CERTIFICATE----- |