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

Unified Diff: net/cert/internal/parse_ocsp.cc

Issue 2079273004: Allow Cast certificates to have serial numbers greater than 20 bytes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove allowance of invalid serial numbers for cast roots Created 4 years, 6 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
« no previous file with comments | « net/cert/internal/parse_certificate_unittest.cc ('k') | net/cert/internal/parsed_certificate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/parse_ocsp.cc
diff --git a/net/cert/internal/parse_ocsp.cc b/net/cert/internal/parse_ocsp.cc
index 87b9d6c47ed39e0289b0f9d51717d7b52db137f5..0243d9537b6216cdd4aa2854ee317f60a9bad2fa 100644
--- a/net/cert/internal/parse_ocsp.cc
+++ b/net/cert/internal/parse_ocsp.cc
@@ -499,10 +499,10 @@ bool GetOCSPCertStatus(const OCSPResponseData& response_data,
out->status = OCSPCertStatus::Status::GOOD;
ParsedTbsCertificate tbs_cert;
- if (!ParseTbsCertificate(cert_tbs_certificate_tlv, &tbs_cert))
+ if (!ParseTbsCertificate(cert_tbs_certificate_tlv, {}, &tbs_cert))
return false;
ParsedTbsCertificate issuer_tbs_cert;
- if (!ParseTbsCertificate(issuer_tbs_certificate_tlv, &issuer_tbs_cert))
+ if (!ParseTbsCertificate(issuer_tbs_certificate_tlv, {}, &issuer_tbs_cert))
return false;
bool found = false;
« no previous file with comments | « net/cert/internal/parse_certificate_unittest.cc ('k') | net/cert/internal/parsed_certificate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698