| Index: net/data/parse_certificate_unittest/cert_algorithm_not_sequence.pem
|
| diff --git a/net/data/parse_certificate_unittest/cert_algorithm_not_sequence.pem b/net/data/parse_certificate_unittest/cert_algorithm_not_sequence.pem
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1e566fc74fbe397a1e9751e5dbb38a40cb59f5f2
|
| --- /dev/null
|
| +++ b/net/data/parse_certificate_unittest/cert_algorithm_not_sequence.pem
|
| @@ -0,0 +1,15 @@
|
| +This is a synthesized Certificate, where the signature algorithm is an INTEGER
|
| +rather than a SEQUENCE.
|
| +
|
| +
|
| +
|
| +-----BEGIN CERTIFICATE-----
|
| +MAwwAgUAAgIFAAMCAKs=
|
| +-----END CERTIFICATE-----
|
| +
|
| +$ openssl asn1parse -i < [CERTIFICATE]
|
| + 0:d=0 hl=2 l= 12 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 prim: INTEGER :0500
|
| + 10:d=1 hl=2 l= 2 prim: BIT STRING
|
|
|