Index: net/data/parse_certificate_unittest/cert_missing_signature.pem |
diff --git a/net/data/parse_certificate_unittest/cert_missing_signature.pem b/net/data/parse_certificate_unittest/cert_missing_signature.pem |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6b347cf1590b2bc0b827352e9c6dafcb59f12749 |
--- /dev/null |
+++ b/net/data/parse_certificate_unittest/cert_missing_signature.pem |
@@ -0,0 +1,15 @@ |
+This is an otherwise "valid" Certificate input for ParseCertificate(), however |
+it is missing the final field (signature). |
+ |
+ |
+ |
+-----BEGIN CERTIFICATE----- |
+MAgwAgUAMAIFAA== |
+-----END CERTIFICATE----- |
+ |
+$ openssl asn1parse -i < [CERTIFICATE] |
+ 0:d=0 hl=2 l= 8 cons: SEQUENCE |
+ 2:d=1 hl=2 l= 2 cons: SEQUENCE |
+ 4:d=2 hl=2 l= 0 prim: NULL |
+ 6:d=1 hl=2 l= 2 cons: SEQUENCE |
+ 8:d=2 hl=2 l= 0 prim: NULL |