diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 20:17:30 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 20:17:30 +0000 |
commit | 5e1981a5b831f6a17e6899ca449d7ec49e91cb89 (patch) | |
tree | 3fd6ec10823d38188adc8ef5145362bf5ae3c79b /net/base | |
parent | 90c5e8612c9fce08cb8f9af4b723c0de6f8c05af (diff) | |
download | chromium_src-5e1981a5b831f6a17e6899ca449d7ec49e91cb89.zip chromium_src-5e1981a5b831f6a17e6899ca449d7ec49e91cb89.tar.gz chromium_src-5e1981a5b831f6a17e6899ca449d7ec49e91cb89.tar.bz2 |
Fixing extended verification code for non-windows
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/ev_root_ca_metadata.cc | 2 | ||||
-rw-r--r-- | net/base/ev_root_ca_metadata.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/base/ev_root_ca_metadata.cc b/net/base/ev_root_ca_metadata.cc index 30c37bb..4f3b196 100644 --- a/net/base/ev_root_ca_metadata.cc +++ b/net/base/ev_root_ca_metadata.cc @@ -184,7 +184,7 @@ EVRootCAMetadata::EVRootCAMetadata() { // Constructs the object from the raw metadata in ev_root_ca_metadata. num_policy_oids_ = arraysize(ev_root_ca_metadata); policy_oids_.reset(new const char*[num_policy_oids_]); - for (int i = 0; i < arraysize(ev_root_ca_metadata); i++) { + for (size_t i = 0; i < arraysize(ev_root_ca_metadata); i++) { const EVMetadata& metadata = ev_root_ca_metadata[i]; ev_policy_[metadata.fingerprint] = metadata.policy_oid; // Multiple root CA certs may use the same EV policy OID. Having diff --git a/net/base/ev_root_ca_metadata.h b/net/base/ev_root_ca_metadata.h index 8e83f0c..0ebba6c 100644 --- a/net/base/ev_root_ca_metadata.h +++ b/net/base/ev_root_ca_metadata.h @@ -58,7 +58,7 @@ class EVRootCAMetadata { EVRootCAMetadata(); ~EVRootCAMetadata() { } - friend DefaultSingletonTraits<EVRootCAMetadata>; + friend class DefaultSingletonTraits<EVRootCAMetadata>; typedef std::map<X509Certificate::Fingerprint, std::string, X509Certificate::FingerprintLessThan> StringMap; |