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

Unified Diff: net/data/parse_certificate_unittest/cert_data_after_signature.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_data_after_signature.pem
diff --git a/net/data/parse_certificate_unittest/cert_data_after_signature.pem b/net/data/parse_certificate_unittest/cert_data_after_signature.pem
index 8ec6f6b49325d2c126d91411e73701980e66209e..090c1267809456d9a85b24faf6b846eee7f524ed 100644
--- a/net/data/parse_certificate_unittest/cert_data_after_signature.pem
+++ b/net/data/parse_certificate_unittest/cert_data_after_signature.pem
@@ -2,11 +2,6 @@ This is an otherwise "valid" input to ParseCertificate(), however there is a
trailing NULL after the signature field.
-
------BEGIN CERTIFICATE-----
-MA4wAgUAMAIFAAMCAKwFAA==
------END CERTIFICATE-----
-
$ openssl asn1parse -i < [CERTIFICATE]
0:d=0 hl=2 l= 14 cons: SEQUENCE
2:d=1 hl=2 l= 2 cons: SEQUENCE
@@ -15,3 +10,6 @@ $ openssl asn1parse -i < [CERTIFICATE]
8:d=2 hl=2 l= 0 prim: NULL
10:d=1 hl=2 l= 2 prim: BIT STRING
14:d=1 hl=2 l= 0 prim: NULL
+-----BEGIN CERTIFICATE-----
+MA4wAgUAMAIFAAMCAKwFAA==
+-----END CERTIFICATE-----

Powered by Google App Engine
This is Rietveld 408576698