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

Unified Diff: chromeos/network/onc/onc_certificate_importer_impl.h

Issue 2859123003: Don't reject server and CA certs during device ONC validation (Closed)
Patch Set: Addressed comments. Created 3 years, 7 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 | chromeos/network/onc/onc_certificate_importer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_certificate_importer_impl.h
diff --git a/chromeos/network/onc/onc_certificate_importer_impl.h b/chromeos/network/onc/onc_certificate_importer_impl.h
index 15f39e524247c751716114077c9c9381eddfa368..497e875961bf0f62337d341fffdd95bc7b854983 100644
--- a/chromeos/network/onc/onc_certificate_importer_impl.h
+++ b/chromeos/network/onc/onc_certificate_importer_impl.h
@@ -66,6 +66,7 @@ class CHROMEOS_EXPORT CertificateImporterImpl : public CertificateImporter {
// Parses and stores |certificate| in the certificate store. Returns true if
// the operation succeeded.
static bool ParseAndStoreCertificate(
+ ::onc::ONCSource source,
bool allow_trust_imports,
const base::DictionaryValue& certificate,
net::NSSCertDatabase* nssdb,
@@ -76,6 +77,7 @@ class CHROMEOS_EXPORT CertificateImporterImpl : public CertificateImporter {
// the |allow_trust_imports| permission is granted, otherwise the attribute is
// ignored.
static bool ParseServerOrCaCertificate(
+ ::onc::ONCSource source,
bool allow_trust_imports,
const std::string& cert_type,
const std::string& guid,
« no previous file with comments | « no previous file | chromeos/network/onc/onc_certificate_importer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698