mirror of
https://repo.or.cz/socat.git
synced 2025-07-12 06:33:24 +00:00
Guard OPENSSL_INIT_new() for LibreSSL
This commit is contained in:
parent
4565c8e6ac
commit
ffe940041c
5 changed files with 15 additions and 6 deletions
4
sslcls.c
4
sslcls.c
|
@ -31,7 +31,7 @@ int sycOPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#if !HAVE_OPENSSL_INIT_SSL
|
||||
#if !(defined(HAVE_OPENSSL_INIT_SSL) && defined(HAVE_OPENSSL_INIT_new))
|
||||
void sycSSL_load_error_strings(void) {
|
||||
Debug("SSL_load_error_strings()");
|
||||
SSL_load_error_strings();
|
||||
|
@ -39,7 +39,7 @@ void sycSSL_load_error_strings(void) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#if !HAVE_OPENSSL_INIT_SSL
|
||||
#if HAVE_SSL_library_init
|
||||
int sycSSL_library_init(void) {
|
||||
int result;
|
||||
Debug("SSL_library_init()");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue