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:
parent
d6b0e1425e
commit
522cf716f8
5 changed files with 9 additions and 6 deletions
2
sslcls.c
2
sslcls.c
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue