Commit d0f00492 authored by agl@chromium.org's avatar agl@chromium.org

net: disable TLS compression with OpenSSL.

BUG=139744


Review URL: https://chromiumcodereview.appspot.com/10825183

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149947 0039d316-1c4b-4281-b951-d872f2087c98
parent 8b07d4f6
...@@ -490,10 +490,7 @@ bool SSLClientSocketOpenSSL::Init() { ...@@ -490,10 +490,7 @@ bool SSLClientSocketOpenSSL::Init() {
#endif #endif
#if defined(SSL_OP_NO_COMPRESSION) #if defined(SSL_OP_NO_COMPRESSION)
// If TLS was disabled also disable compression, to provide maximum site options.ConfigureFlag(SSL_OP_NO_COMPRESSION, true);
// 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);
#endif #endif
// TODO(joth): Set this conditionally, see http://crbug.com/55410 // TODO(joth): Set this conditionally, see http://crbug.com/55410
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment