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

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

Issue 2341943002: Add error details to TBSCertificate parsing function and tests. (Closed)
Patch Set: update comment Created 4 years, 3 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
« net/cert/internal/parse_certificate.cc ('K') | « net/cert/x509_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/parse_certificate_unittest/tbs_v3_data_after_extensions.pem
diff --git a/net/data/parse_certificate_unittest/tbs_v3_data_after_extensions.pem b/net/data/parse_certificate_unittest/tbs_v3_data_after_extensions.pem
index 7dc83279069c2c57b51ed8c13a7388c5955c6973..3981aa71cab5ba4bb145d7dd4d1eb910fc220ce8 100644
--- a/net/data/parse_certificate_unittest/tbs_v3_data_after_extensions.pem
+++ b/net/data/parse_certificate_unittest/tbs_v3_data_after_extensions.pem
@@ -26,3 +26,9 @@ $ openssl asn1parse -i < [TBS CERTIFICATE]
MEWgAwIBAgIBATADBAEBMAMEAQUwHhcNMTIxMDE4MDMxMjAwWhcNMTMxMDE4MTQ1OTU5WjADBAG
DMAMEAfOjBTADBAHdBQA=
-----END TBS CERTIFICATE-----
+
+[Error] Unconsumed data inside TBSCertificate
+
+-----BEGIN ERRORS-----
+W0Vycm9yXSBVbmNvbnN1bWVkIGRhdGEgaW5zaWRlIFRCU0NlcnRpZmljYXRlCg==
+-----END ERRORS-----
« net/cert/internal/parse_certificate.cc ('K') | « net/cert/x509_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698