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

Unified Diff: net/ssl/client_cert_store_nss.cc

Issue 1274143002: ClientCertStoreChromeOS: support additional non-platform certs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored to suggested pulling of certificates. Created 5 years, 4 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
Index: net/ssl/client_cert_store_nss.cc
diff --git a/net/ssl/client_cert_store_nss.cc b/net/ssl/client_cert_store_nss.cc
index 1b44bce92daf1c346137b8385aff5d8973cb555b..0f52fc79fd6cc926978d5842d6d8100490594627 100644
--- a/net/ssl/client_cert_store_nss.cc
+++ b/net/ssl/client_cert_store_nss.cc
@@ -123,11 +123,9 @@ void ClientCertStoreNSS::GetClientCertsOnWorkerThread(
PR_FALSE,
PR_FALSE,
password_delegate.get());
- // It is ok for a user not to have any client certs.
if (!client_certs) {
DVLOG(2) << "No client certs found.";
- selected_certs->clear();
- return;
+ client_certs = CERT_NewCertList();
}
GetClientCertsImpl(client_certs, *request, true, selected_certs);
« chrome/browser/profiles/profile_io_data.cc ('K') | « chrome/browser/profiles/profile_io_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698