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

Unified Diff: net/data/parse_certificate_unittest/cert_missing_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_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
index 6b347cf1590b2bc0b827352e9c6dafcb59f12749..9a5960f6d185515d0d4c89f7e02daa86961495ef 100644
--- a/net/data/parse_certificate_unittest/cert_missing_signature.pem
+++ b/net/data/parse_certificate_unittest/cert_missing_signature.pem
@@ -2,14 +2,12 @@ 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
+-----BEGIN CERTIFICATE-----
+MAgwAgUAMAIFAA==
+-----END CERTIFICATE-----
« no previous file with comments | « net/data/parse_certificate_unittest/cert_empty_sequence.pem ('k') | net/data/parse_certificate_unittest/cert_not_sequence.pem » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698