| Index: net/base/cert_verifier.cc
|
| ===================================================================
|
| --- net/base/cert_verifier.cc (revision 107789)
|
| +++ net/base/cert_verifier.cc (working copy)
|
| @@ -364,7 +364,7 @@
|
|
|
| requests_++;
|
|
|
| - const RequestParams key = {cert->fingerprint(), hostname, flags};
|
| + const RequestParams key = {cert->chain_fingerprint(), hostname, flags};
|
| // First check the cache.
|
| std::map<RequestParams, CachedCertVerifyResult>::iterator i;
|
| i = cache_.find(key);
|
| @@ -449,7 +449,7 @@
|
| uint32 ttl = kTTLSecs;
|
| cached_result.expiry = current_time + base::TimeDelta::FromSeconds(ttl);
|
|
|
| - const RequestParams key = {cert->fingerprint(), hostname, flags};
|
| + const RequestParams key = {cert->chain_fingerprint(), hostname, flags};
|
|
|
| DCHECK_GE(max_cache_entries_, 1u);
|
| DCHECK_LE(cache_.size(), max_cache_entries_);
|
|
|