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

Unified Diff: net/base/ssl_config_service_win.cc

Issue 4091005: Remove SSL 2.0 support. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Sync with ToT Created 10 years, 1 month 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/base/ssl_config_service_win.h ('k') | net/base/ssl_config_service_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/ssl_config_service_win.cc
===================================================================
--- net/base/ssl_config_service_win.cc (revision 67717)
+++ net/base/ssl_config_service_win.cc (working copy)
@@ -29,7 +29,6 @@
// The bits are OR'ed to form the DWORD value. So 0xa0 means SSL 3.0 and
// TLS 1.0.
enum {
- SSL2 = 0x08,
SSL3 = 0x20,
TLS1 = 0x80
};
@@ -77,7 +76,6 @@
protocols = PROTOCOLS_DEFAULT;
config->rev_checking_enabled = (revocation != 0);
- config->ssl2_enabled = ((protocols & SSL2) != 0);
config->ssl3_enabled = ((protocols & SSL3) != 0);
config->tls1_enabled = ((protocols & TLS1) != 0);
SSLConfigService::SetSSLConfigFlags(config);
@@ -105,11 +103,6 @@
}
// static
-void SSLConfigServiceWin::SetSSL2Enabled(bool enabled) {
- SetSSLVersionEnabled(SSL2, enabled);
-}
-
-// static
void SSLConfigServiceWin::SetSSL3Enabled(bool enabled) {
SetSSLVersionEnabled(SSL3, enabled);
}
« no previous file with comments | « net/base/ssl_config_service_win.h ('k') | net/base/ssl_config_service_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698