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

Unified Diff: net/cert/x509_util.cc

Issue 2353333003: Rename CreateFromDer() to Create(). (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 | « net/cert/internal/parsed_certificate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/x509_util.cc
diff --git a/net/cert/x509_util.cc b/net/cert/x509_util.cc
index 9b0cf51466bc3b708c62f446172035d0d4a270b4..35913c19d2b5cd1ba2e7eee46ddf9aa4e9844f0d 100644
--- a/net/cert/x509_util.cc
+++ b/net/cert/x509_util.cc
@@ -159,7 +159,7 @@ bool ParseCertificateSandboxed(const base::StringPiece& certificate,
auto iter = extensions.find(SubjectAltNameOid());
if (iter != extensions.end()) {
std::unique_ptr<GeneralNames> subject_alt_names =
- GeneralNames::CreateFromDer(iter->second.value);
+ GeneralNames::Create(iter->second.value);
if (subject_alt_names) {
*dns_names = subject_alt_names->dns_names;
for (const auto& ip : subject_alt_names->ip_addresses)
« no previous file with comments | « net/cert/internal/parsed_certificate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698