]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Support OpenSSL NO_Compression option
authorSebastien Wenske <sebastien@wenske.fr>
Tue, 22 Jan 2013 11:12:37 +0000 (04:12 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 22 Jan 2013 11:12:37 +0000 (04:12 -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 8cc8b634750f9bb42f4b872b789259b7e02e5eb8..4fe762e1c1f3dd979a51fccc01ce02aaa311c365 100644 (file)
@@ -440,6 +440,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