mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Merge pull request #767 from jpnurmi/csocket
Update Csocket to 3cc03c2 (fixes #765)
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user