From a32413c21329e49fee27c0f73440b53353de47d5 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 10 Dec 2014 18:09:30 +0100 Subject: [PATCH] Update Csocket to 3cc03c2 (fixes #765) > Test that SSL_OP_NO_COMPRESSION is defined --- src/Csocket.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Csocket.cpp b/src/Csocket.cpp index 92ccd3ef..776f88f3 100644 --- a/src/Csocket.cpp +++ b/src/Csocket.cpp @@ -1416,8 +1416,10 @@ bool Csock::ConfigureCTXOptions( SSL_CTX * pCTX ) uCTXOptions |= SSL_OP_NO_TLSv1_2; #endif /* SSL_OP_NO_TLSv1_2 */ } +#ifdef SSL_OP_NO_COMPRESSION if( m_bNoSSLCompression ) uCTXOptions |= SSL_OP_NO_COMPRESSION; +#endif /* SSL_OP_NO_COMPRESSION */ if( uCTXOptions ) SSL_CTX_set_options( pCTX, uCTXOptions ); }