Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(927)

Unified Diff: net/cert/cert_database_android.cc

Issue 1304143010: Plumbing SSLPrivateKey Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/BUILD.gn ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_database_android.cc
diff --git a/net/cert/cert_database_android.cc b/net/cert/cert_database_android.cc
index d9b0dfcd024340f94b98f68888ec26ff4f03c7fb..93b7742774b342ce2d023f35dfc5780acac8f5b9 100644
--- a/net/cert/cert_database_android.cc
+++ b/net/cert/cert_database_android.cc
@@ -7,7 +7,6 @@
#include "base/logging.h"
#include "base/observer_list_threadsafe.h"
#include "net/base/net_errors.h"
-#include "net/ssl/openssl_client_key_store.h"
namespace net {
@@ -39,12 +38,6 @@ int CertDatabase::AddUserCert(X509Certificate* cert) {
void CertDatabase::OnAndroidKeyStoreChanged() {
NotifyObserversOfCertAdded(NULL);
- // Dump the OpenSSLClientKeyStore to drop references to now disconnected
- // PrivateKeys stored in the in-memory key store. Note: this assumes that
- // every SSLClientAuthCache is dumped as part of notifying
- // OnCertAdded. Otherwise client auth decisions will be silently converted to
- // no-certificate decisions. See https://crbug.com/382696
- OpenSSLClientKeyStore::GetInstance()->Flush();
}
void CertDatabase::OnAndroidKeyChainChanged() {
« no previous file with comments | « net/BUILD.gn ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698