diff options
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/cert_database.h | 2 | ||||
-rw-r--r-- | net/base/cert_database_nss.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/base/cert_database.h b/net/base/cert_database.h index a40a56f..377c0a8 100644 --- a/net/base/cert_database.h +++ b/net/base/cert_database.h @@ -87,7 +87,7 @@ class CertDatabase { // root. Assumes the list is an ordered hierarchy with the root being either // the first or last element. // TODO(mattm): improve this to handle any order. - X509Certificate* FindRootInList(const CertificateList& certificates); + X509Certificate* FindRootInList(const CertificateList& certificates) const; // Import CA certificates. // Tries to import all the certificates given. The root will be trusted diff --git a/net/base/cert_database_nss.cc b/net/base/cert_database_nss.cc index 2c1ad92..69b2128 100644 --- a/net/base/cert_database_nss.cc +++ b/net/base/cert_database_nss.cc @@ -119,7 +119,7 @@ int CertDatabase::ExportToPKCS12( } X509Certificate* CertDatabase::FindRootInList( - const CertificateList& certificates) { + const CertificateList& certificates) const { DCHECK_GT(certificates.size(), 0U); if (certificates.size() == 1) |