mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-09 20:52:45 +01:00
Don't try to disable compression if openssl hasn't been compiled with compression support.
The function is still defined in openssl/ssl.h but not in the actual library, so it cannot be linked to.
This commit is contained in:
parent
b6877ccf5c
commit
a22816fbbd
@ -99,7 +99,7 @@ _SSL_context_init (void (*info_cb_func))
|
||||
|SSL_OP_NO_TICKET
|
||||
|SSL_OP_CIPHER_SERVER_PREFERENCE);
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x00908000L /* workaround for OpenSSL 0.9.8 */
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined (OPENSSL_NO_COMP) /* workaround for OpenSSL 0.9.8 */
|
||||
sk_SSL_COMP_zero(SSL_COMP_get_compression_methods());
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user