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

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

Issue 2349093002: Change the interface for parsing SignatureAlgorithm to take a (Closed)
Patch Set: rebase 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 | « no previous file | net/cert/internal/parse_ocsp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/parse_certificate_fuzzer.cc
diff --git a/net/cert/internal/parse_certificate_fuzzer.cc b/net/cert/internal/parse_certificate_fuzzer.cc
index ff97cfa4208562cd62ae04e55665bc0e8bacbf5f..c6112f68685413920a57c012853f4bb0d3652006 100644
--- a/net/cert/internal/parse_certificate_fuzzer.cc
+++ b/net/cert/internal/parse_certificate_fuzzer.cc
@@ -38,7 +38,7 @@ void ParseCertificateForFuzzer(const der::Input& in) {
&signature_value, &errors))
return;
std::unique_ptr<SignatureAlgorithm> sig_alg(
- SignatureAlgorithm::CreateFromDer(signature_algorithm_tlv));
+ SignatureAlgorithm::Create(signature_algorithm_tlv, &errors));
ParsedTbsCertificate tbs;
if (!ParseTbsCertificate(tbs_certificate_tlv, {}, &tbs, &errors))
« no previous file with comments | « no previous file | net/cert/internal/parse_ocsp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698