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/tls_policy.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/tls_policy.cpp')
-rw-r--r-- | src/lib/tls/tls_policy.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/tls/tls_policy.cpp b/src/lib/tls/tls_policy.cpp index d849faf9d..ce87edac1 100644 --- a/src/lib/tls/tls_policy.cpp +++ b/src/lib/tls/tls_policy.cpp @@ -270,14 +270,6 @@ void Policy::check_peer_key_acceptable(const Public_Key& public_key) const std::to_string(expected_keylength)); } -/* -* Return allowed compression algorithms -*/ -std::vector<uint8_t> Policy::compression() const - { - return std::vector<uint8_t>{ NO_COMPRESSION }; - } - uint32_t Policy::session_ticket_lifetime() const { return 86400; // ~1 day |