summaryrefslogtreecommitdiffstats
path: root/net/base/cert_verify_proc.h
diff options
context:
space:
mode:
authorpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-31 20:15:57 +0000
committerpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-31 20:15:57 +0000
commit18fb0c3b499607a6890c844f5bba2019159b26d0 (patch)
tree7a31b3c0bea4c24af258ba0dbcce84df5a00137f /net/base/cert_verify_proc.h
parentf6a37b54c1e97fa7774d9b12aacc5848bcd02aea (diff)
downloadchromium_src-18fb0c3b499607a6890c844f5bba2019159b26d0.zip
chromium_src-18fb0c3b499607a6890c844f5bba2019159b26d0.tar.gz
chromium_src-18fb0c3b499607a6890c844f5bba2019159b26d0.tar.bz2
Support SHA-256 in public key pins for HTTPS.
The HTTP-based Public Key Pinning Internet Draft (tools.ietf.org/html/draft-ietf-websec-key-pinning) requires this. Per wtc, give the *Fingeprint* types more meaningful *HashValue* names. Cleaning up lint along the way. BUG=117914 TEST=net_unittests, unit_tests TransportSecurityPersisterTest Review URL: https://chromiumcodereview.appspot.com/10545166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/cert_verify_proc.h')
-rw-r--r--net/base/cert_verify_proc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/cert_verify_proc.h b/net/base/cert_verify_proc.h
index a4801cfd..790847f 100644
--- a/net/base/cert_verify_proc.h
+++ b/net/base/cert_verify_proc.h
@@ -75,9 +75,9 @@ class NET_EXPORT CertVerifyProc
static bool IsBlacklisted(X509Certificate* cert);
// IsPublicKeyBlacklisted returns true iff one of |public_key_hashes| (which
- // are SHA1 hashes of SubjectPublicKeyInfo structures) is explicitly blocked.
+ // are hashes of SubjectPublicKeyInfo structures) is explicitly blocked.
static bool IsPublicKeyBlacklisted(
- const std::vector<SHA1Fingerprint>& public_key_hashes);
+ const std::vector<HashValueVector>& public_key_hashes);
};
} // namespace net