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

Unified Diff: net/socket/ssl_client_socket_openssl.cc

Issue 10825183: net: disable TLS compression with OpenSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | 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 8bdbfd11843721476e3b9fcb7fea71d428ffcb6b..d03e09325156b7011e078c677ec1e435c957a61d 100644
--- a/net/socket/ssl_client_socket_openssl.cc
+++ b/net/socket/ssl_client_socket_openssl.cc
@@ -490,10 +490,7 @@ bool SSLClientSocketOpenSSL::Init() {
#endif
#if defined(SSL_OP_NO_COMPRESSION)
- // If TLS was disabled also disable compression, to provide maximum site
- // compatibility in the case of protocol fallback. See http://crbug.com/31628
- options.ConfigureFlag(SSL_OP_NO_COMPRESSION,
- ssl_config_.version_max < SSL_PROTOCOL_VERSION_TLS1);
+ options.ConfigureFlag(SSL_OP_NO_COMPRESSION, true);
#endif
// TODO(joth): Set this conditionally, see http://crbug.com/55410
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698