Index: net/data/parse_certificate_unittest/cert_empty_sequence.pem |
diff --git a/net/data/parse_certificate_unittest/cert_empty_sequence.pem b/net/data/parse_certificate_unittest/cert_empty_sequence.pem |
new file mode 100644 |
index 0000000000000000000000000000000000000000..75638eb030232ee8d668fc5bcedca50b354d515d |
--- /dev/null |
+++ b/net/data/parse_certificate_unittest/cert_empty_sequence.pem |
@@ -0,0 +1,10 @@ |
+This is an empty SEQUENCE. It will fail to be parsed as a Certificate since it contains no fields. |
+ |
+ |
+ |
+-----BEGIN CERTIFICATE----- |
+MAA= |
+-----END CERTIFICATE----- |
+ |
+$ openssl asn1parse -i < [CERTIFICATE] |
+ 0:d=0 hl=2 l= 0 cons: SEQUENCE |