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

Unified Diff: net/cert/x509_util.cc

Issue 2341943002: Add error details to TBSCertificate parsing function and tests. (Closed)
Patch Set: fix fuzzer compile 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
Index: net/cert/x509_util.cc
diff --git a/net/cert/x509_util.cc b/net/cert/x509_util.cc
index 490252c6a4de5f90aa312f09636ef6b40cc48149..9b0cf51466bc3b708c62f446172035d0d4a270b4 100644
--- a/net/cert/x509_util.cc
+++ b/net/cert/x509_util.cc
@@ -133,7 +133,7 @@ bool ParseCertificateSandboxed(const base::StringPiece& certificate,
ParsedTbsCertificate parsed_tbs_cert;
if (!ParseTbsCertificate(tbs_cert, ParseCertificateOptions(),
- &parsed_tbs_cert))
+ &parsed_tbs_cert, nullptr))
return false;
if (!GetCommonName(parsed_tbs_cert.subject_tlv, subject))
« no previous file with comments | « net/cert/internal/parsed_certificate.cc ('k') | net/data/parse_certificate_unittest/tbs_v3_data_after_extensions.pem » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698