mirror of
https://repo.or.cz/socat.git
synced 2025-07-12 06:33:24 +00:00
With OPENSSL_API_COMPAT=0x10000000L the files openssl/dh.h, openssl/bn.h must be included
This commit is contained in:
parent
9209312c3c
commit
b7a277472b
7 changed files with 49 additions and 10 deletions
2
sslcls.h
2
sslcls.h
|
@ -8,6 +8,7 @@
|
|||
#if WITH_SYCLS
|
||||
#if WITH_OPENSSL
|
||||
|
||||
int sycOPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
|
||||
void sycSSL_load_error_strings(void);
|
||||
int sycSSL_library_init(void);
|
||||
const SSL_METHOD *sycTLS_client_method(void);
|
||||
|
@ -73,6 +74,7 @@ const char *sycSSL_COMP_get_name(const COMP_METHOD *comp);
|
|||
|
||||
#if WITH_OPENSSL
|
||||
|
||||
#define sycOPENSSL_init_ssl(o,s) OPENSSL_init_ssl(o,s)
|
||||
#define sycSSL_load_error_strings() SSL_load_error_strings()
|
||||
#define sycSSL_library_init() SSL_library_init()
|
||||
#define sycTLS_client_method() TLS_client_method()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue