diff options
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; |