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

Unified Diff: chrome/browser/browser_main_win.cc

Issue 6487012: Clear the SSL Client Auth cache when a new SSL Client Certificate is... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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: chrome/browser/browser_main_win.cc
===================================================================
--- chrome/browser/browser_main_win.cc (revision 75583)
+++ chrome/browser/browser_main_win.cc (working copy)
@@ -270,12 +270,10 @@
private:
virtual void InitializeSSL() {
// Use NSS for SSL by default.
- // Because of a build system issue (http://crbug.com/43461), the default
- // client socket factory uses SChannel (the system SSL library) for SSL by
- // default on Windows.
- if (!parsed_command_line().HasSwitch(switches::kUseSystemSSL)) {
- net::ClientSocketFactory::SetSSLClientSocketFactory(
- net::SSLClientSocketNSSFactory);
+ // The default client socket factory uses NSS for SSL by default on Win.
wtc 2011/02/23 00:38:38 Nit: Win => Windows.
+ if (parsed_command_line().HasSwitch(switches::kUseSystemSSL)) {
+ net::ClientSocketFactory::UseSystemSSL();
+ } else {
// We want to be sure to init NSPR on the main thread.
base::EnsureNSPRInit();
}

Powered by Google App Engine
This is Rietveld 408576698