| Index: net/cert/cert_verify_proc_win.cc
|
| diff --git a/net/cert/cert_verify_proc_win.cc b/net/cert/cert_verify_proc_win.cc
|
| index e94c1fc6283e83c79537265682d18934b4d79e7d..69c456b61f51a93798711b977b8a3b03950de24f 100644
|
| --- a/net/cert/cert_verify_proc_win.cc
|
| +++ b/net/cert/cert_verify_proc_win.cc
|
| @@ -539,11 +539,6 @@ void AppendPublicKeyHashes(PCCERT_CHAIN_CONTEXT chain,
|
| if (!asn1::ExtractSPKIFromDERCert(der_bytes, &spki_bytes))
|
| continue;
|
|
|
| - HashValue sha1(HASH_VALUE_SHA1);
|
| - base::SHA1HashBytes(reinterpret_cast<const uint8_t*>(spki_bytes.data()),
|
| - spki_bytes.size(), sha1.data());
|
| - hashes->push_back(sha1);
|
| -
|
| HashValue sha256(HASH_VALUE_SHA256);
|
| crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length);
|
| hashes->push_back(sha256);
|
|
|