Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: net/data/parse_certificate_unittest/cert_not_sequence.pem

Issue 1658693006: Normalize the PEM format used in some certificate test data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/data/parse_certificate_unittest/cert_not_sequence.pem
diff --git a/net/data/parse_certificate_unittest/cert_not_sequence.pem b/net/data/parse_certificate_unittest/cert_not_sequence.pem
index e808f827bedaa4826a35606fc1e37ae25b653fbc..3ef1bde2b1e1817f41dd88ed2248a52d9a328063 100644
--- a/net/data/parse_certificate_unittest/cert_not_sequence.pem
+++ b/net/data/parse_certificate_unittest/cert_not_sequence.pem
@@ -2,10 +2,8 @@ This is an otherwise valid input for ParseCertificate(), however the SEQUENCE
tag was changed to be an INTEGER.
-
+$ openssl asn1parse -i < [CERTIFICATE]
+ 0:d=0 hl=2 l= 16 prim: INTEGER :300605003002050030020500030200AC
-----BEGIN CERTIFICATE-----
AhAwBgUAMAIFADACBQADAgCs
-----END CERTIFICATE-----
-
-$ openssl asn1parse -i < [CERTIFICATE]
- 0:d=0 hl=2 l= 16 prim: INTEGER :300605003002050030020500030200AC

Powered by Google App Engine
This is Rietveld 408576698