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

Unified Diff: net/data/parse_certificate_unittest/tbs_v3_extensions_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/tbs_v3_extensions_not_sequence.pem
diff --git a/net/data/parse_certificate_unittest/tbs_v3_extensions_not_sequence.pem b/net/data/parse_certificate_unittest/tbs_v3_extensions_not_sequence.pem
index ef2ca979b55ad6a64052a16170cdccdab468e395..7122fbd3e09497668df1e4e3293d74bcca1bc89b 100644
--- a/net/data/parse_certificate_unittest/tbs_v3_extensions_not_sequence.pem
+++ b/net/data/parse_certificate_unittest/tbs_v3_extensions_not_sequence.pem
@@ -2,12 +2,6 @@ This is an otherwise valid TBSCertificate, except the extensions is an OCTET
STRING rather than a SEQUENCE.
-
------BEGIN TBS CERTIFICATE-----
-MEOgAwIBAgIBATADBAEBMAMEAQUwHhcNMTIxMDE4MDMxMjAwWhcNMTMxMDE4MTQ1OTU5WjADBAG
-DMAMEAfOjBQQDBAHd
------END TBS CERTIFICATE-----
-
$ openssl asn1parse -i < [TBS CERTIFICATE]
0:d=0 hl=2 l= 67 cons: SEQUENCE
2:d=1 hl=2 l= 3 cons: cont [ 0 ]
@@ -26,3 +20,7 @@ $ openssl asn1parse -i < [TBS CERTIFICATE]
59:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:F3
62:d=1 hl=2 l= 5 cons: cont [ 3 ]
64:d=2 hl=2 l= 3 prim: OCTET STRING [HEX DUMP]:0401DD
+-----BEGIN TBS CERTIFICATE-----
+MEOgAwIBAgIBATADBAEBMAMEAQUwHhcNMTIxMDE4MDMxMjAwWhcNMTMxMDE4MTQ1OTU5WjADBAG
+DMAMEAfOjBQQDBAHd
+-----END TBS CERTIFICATE-----
« no previous file with comments | « net/data/parse_certificate_unittest/tbs_v3_extensions.pem ('k') | net/data/parse_certificate_unittest/tbs_v3_no_optionals.pem » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698