diff options
author | Jack Lloyd <[email protected]> | 2018-01-04 08:48:00 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-01-21 12:56:05 -0500 |
commit | 08b7ca1d35c0e4d06695e8744708ae6cf3f5af7a (patch) | |
tree | ed1b527302608854d98a689a21d7250cb8b043ae /src/lib/tls/msg_server_hello.cpp | |
parent | 65f375348c0773af6e9bbe3a005aef177dfd4ac3 (diff) |
Remove vestigial support for TLS compression
It was never supported and never will be. Removing negotiation entirely
simplifies the code a bit.
Diffstat (limited to 'src/lib/tls/msg_server_hello.cpp')
-rw-r--r-- | src/lib/tls/msg_server_hello.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/msg_server_hello.cpp b/src/lib/tls/msg_server_hello.cpp index 9eb33645b..5e290eb68 100644 --- a/src/lib/tls/msg_server_hello.cpp +++ b/src/lib/tls/msg_server_hello.cpp @@ -32,7 +32,7 @@ Server_Hello::Server_Hello(Handshake_IO& io, m_session_id(server_settings.session_id()), m_random(make_hello_random(rng, policy)), m_ciphersuite(server_settings.ciphersuite()), - m_comp_method(server_settings.compression()) + m_comp_method(0) { if(client_hello.supports_extended_master_secret()) m_extensions.add(new Extended_Master_Secret); @@ -100,7 +100,7 @@ Server_Hello::Server_Hello(Handshake_IO& io, m_session_id(client_hello.session_id()), m_random(make_hello_random(rng, policy)), m_ciphersuite(resumed_session.ciphersuite_code()), - m_comp_method(resumed_session.compression_method()) + m_comp_method(0) { if(client_hello.supports_extended_master_secret()) m_extensions.add(new Extended_Master_Secret); |