]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix typo added tweaking rev.13962
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 3 Mar 2015 14:51:22 +0000 (06:51 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 3 Mar 2015 14:51:22 +0000 (06:51 -0800)
src/ssl/bio.cc

index 2766a4d30b03a49f9af4acd8885ab26509cca201..ddaf4237fa119038b27e0b7315ffa64e5f7e8066 100644 (file)
@@ -325,7 +325,7 @@ adjustSSL(SSL *ssl, Ssl::Bio::sslFeatures &features)
 
     // If the client supports compression but our context does not support
     // we can not adjust.
-#if defined(OPENSSL_NO_COMP)
+#if !defined(OPENSSL_NO_COMP)
     const bool requireCompression = (features.compressMethod && ssl->ctx->comp_methods == NULL);
 #else
     const bool requireCompression = features.compressMethod;
@@ -674,7 +674,7 @@ Ssl::Bio::sslFeatures::get(const SSL *ssl)
     debugs(83, 7, "SNI server name: " << serverName);
 #endif
 
-#if defined(OPENSSL_NO_COMP)
+#if !defined(OPENSSL_NO_COMP)
     if (ssl->session->compress_meth)
         compressMethod = ssl->session->compress_meth;
     else if (sslVersion >= 3) //if it is 3 or newer version then compression is disabled