1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-07 21:36:32 +00:00

LibreSSL support: check for OPENSSL_NO_COMP

This commit is contained in:
Gerhard Rieger 2015-07-20 12:57:30 +02:00
parent d6b0e1425e
commit 522cf716f8
5 changed files with 9 additions and 6 deletions

View file

@ -385,7 +385,7 @@ int sycFIPS_mode_set(int onoff) {
}
#endif /* WITH_FIPS */
#if OPENSSL_VERSION_NUMBER >= 0x00908000L
#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP)
const COMP_METHOD *sycSSL_get_current_compression(SSL *ssl) {
const COMP_METHOD *result;
Debug1("SSL_get_current_compression(%p)", ssl);