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

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

Issue 2327973002: Add CertErrors* parameter to the main Certificate parsing functions. (Closed)
Patch Set: StringPiece is kind of dangerous... 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
« 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_unittest.cc
diff --git a/net/cert/internal/parse_ocsp_unittest.cc b/net/cert/internal/parse_ocsp_unittest.cc
index b5bf1e3244b76e4d12bfecd6cb09d30f11b64851..08e18db35e8f6c9ac8f510d6e4e44d76fd151033 100644
--- a/net/cert/internal/parse_ocsp_unittest.cc
+++ b/net/cert/internal/parse_ocsp_unittest.cc
@@ -59,10 +59,11 @@ OCSPFailure ParseOCSP(const std::string& file_name) {
der::BitString cert_signature_value;
if (!ParseCertificate(ca_input, &issuer_tbs_certificate_tlv,
&issuer_signature_algorithm_tlv,
- &issuer_signature_value))
+ &issuer_signature_value, nullptr))
return PARSE_CERT;
if (!ParseCertificate(cert_input, &cert_tbs_certificate_tlv,
- &cert_signature_algorithm_tlv, &cert_signature_value))
+ &cert_signature_algorithm_tlv, &cert_signature_value,
+ nullptr))
return PARSE_CERT;
OCSPResponse parsed_ocsp;
OCSPResponseData parsed_ocsp_data;
« 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