]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Support OpenSSL NO_Compression option
authorSebastien Wenske <sebastien@wenske.fr>
Fri, 1 Feb 2013 04:54:23 +0000 (21:54 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Feb 2013 04:54:23 +0000 (21:54 -0700)
This option tells OpenSSL to disable TLS compression. A recent version
of OpenSSL library is required for this option to be available

src/ssl/support.cc

index 0891656f10a7f5d2d883180dd01427c0a2558b87..3c86bbc490a921a4cc7be5a6c0aebb54a2d89d23 100644 (file)
@@ -399,6 +399,11 @@ ssl_options[] = {
     {
         "NO_TLSv1_2", SSL_OP_NO_TLSv1_2
     },
+#endif
+#if SSL_OP_NO_COMPRESSION
+    {
+        "No_Compression", SSL_OP_NO_COMPRESSION
+    },
 #endif
     {
         "", 0