mirror of
https://repo.or.cz/socat.git
synced 2025-07-08 13: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.h
2
sslcls.h
|
@ -55,7 +55,7 @@ BIO *sycBIO_new_file(const char *filename, const char *mode);
|
|||
|
||||
int sycFIPS_mode_set(int onoff);
|
||||
|
||||
#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 *sycSSL_get_current_expansion(SSL *ssl);
|
||||
const char *sycSSL_COMP_get_name(const COMP_METHOD *comp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue