From: Amos Jeffries Date: Tue, 3 Mar 2015 14:51:22 +0000 (-0800) Subject: Fix typo added tweaking rev.13962 X-Git-Tag: merge-candidate-3-v1~230 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b4fca8e9f7f9db7300179f8c1abc25d58476e494;p=thirdparty%2Fsquid.git Fix typo added tweaking rev.13962 --- diff --git a/src/ssl/bio.cc b/src/ssl/bio.cc index 2766a4d30b..ddaf4237fa 100644 --- a/src/ssl/bio.cc +++ b/src/ssl/bio.cc @@ -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