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

Unified Diff: net/socket/ssl_client_socket_openssl.cc

Issue 1422293002: Remove RC4 by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 2 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/socket/ssl_client_socket_nss.cc ('k') | net/socket/ssl_client_socket_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_openssl.cc
diff --git a/net/socket/ssl_client_socket_openssl.cc b/net/socket/ssl_client_socket_openssl.cc
index d6e0aa2816234a235b469486befce4b5d721a688..29c59f7f583fa46c3430b1d46b5c739f8867369a 100644
--- a/net/socket/ssl_client_socket_openssl.cc
+++ b/net/socket/ssl_client_socket_openssl.cc
@@ -888,9 +888,10 @@ int SSLClientSocketOpenSSL::Init() {
if (ssl_config_.require_ecdhe)
command.append(":!kRSA:!kDHE");
- if (!ssl_config_.enable_deprecated_cipher_suites) {
+ if (!ssl_config_.rc4_enabled)
command.append(":!RC4");
- } else {
+
+ if (ssl_config_.deprecated_cipher_suites_enabled) {
// Add TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 under a fallback. This is
// believed to work around a bug in some out-of-date Microsoft IIS servers
// which cause them to require the version downgrade
@@ -2053,7 +2054,7 @@ std::string SSLClientSocketOpenSSL::GetSessionCacheKey() const {
}
result.append("/");
- if (ssl_config_.enable_deprecated_cipher_suites)
+ if (ssl_config_.deprecated_cipher_suites_enabled)
result.append("deprecated");
result.append("/");
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | net/socket/ssl_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698