aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-04 08:48:00 -0500
committerJack Lloyd <[email protected]>2018-01-21 12:56:05 -0500
commit08b7ca1d35c0e4d06695e8744708ae6cf3f5af7a (patch)
treeed1b527302608854d98a689a21d7250cb8b043ae /src/lib/tls/tls_policy.h
parent65f375348c0773af6e9bbe3a005aef177dfd4ac3 (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.h')
-rw-r--r--src/lib/tls/tls_policy.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/tls/tls_policy.h b/src/lib/tls/tls_policy.h
index 786cdeea8..84da00bfb 100644
--- a/src/lib/tls/tls_policy.h
+++ b/src/lib/tls/tls_policy.h
@@ -102,15 +102,6 @@ class BOTAN_PUBLIC_API(2,0) Policy
virtual bool use_ecc_point_compression() const;
/**
- * Returns a list of compression algorithms we are willing to use,
- * in order of preference. Allowed values any value of
- * Compression_Method.
- *
- * @note Compression is not currently supported
- */
- virtual std::vector<uint8_t> compression() const;
-
- /**
* Choose an elliptic curve to use
*/
virtual std::string choose_curve(const std::vector<std::string>& curve_names) const;