summaryrefslogtreecommitdiffstats
path: root/net/ssl
diff options
context:
space:
mode:
authoryfriedman@chromium.org <yfriedman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-17 18:48:25 +0000
committeryfriedman@chromium.org <yfriedman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-17 18:48:25 +0000
commitf3875bfd4e7e737e82efe2582b571e9b3c450be4 (patch)
treeb57ca1f24d65591d4a833653d5323bc4fa6d4532 /net/ssl
parentb73825f9e9f435ad5e95f8c2ff294a6be73e29ea (diff)
downloadchromium_src-f3875bfd4e7e737e82efe2582b571e9b3c450be4.zip
chromium_src-f3875bfd4e7e737e82efe2582b571e9b3c450be4.tar.gz
chromium_src-f3875bfd4e7e737e82efe2582b571e9b3c450be4.tar.bz2
When clearing the session cache, also flush OpenSSLClientKeyStore.
Without this, we can end upcaching a stale PrivateKey. BUG=341500 Review URL: https://codereview.chromium.org/169153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ssl')
-rw-r--r--net/ssl/openssl_client_key_store.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ssl/openssl_client_key_store.h b/net/ssl/openssl_client_key_store.h
index 6d90253..e2b57a3 100644
--- a/net/ssl/openssl_client_key_store.h
+++ b/net/ssl/openssl_client_key_store.h
@@ -62,7 +62,7 @@ class NET_EXPORT OpenSSLClientKeyStore {
bool FetchClientCertPrivateKey(const X509Certificate* cert,
ScopedEVP_PKEY* private_key);
- // Flush all recorded keys. Used only during testing.
+ // Flush all recorded keys.
void Flush();
protected: