mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-04 12:00:15 +00:00
Fix LibreSSL version for OPENSSL_init_crypto() support, fixes Travis build
This commit is contained in:
parent
df48b3e28d
commit
08aba78815
2
ssl.c
2
ssl.c
@ -368,7 +368,7 @@ ssl_init(void)
|
||||
return 0;
|
||||
|
||||
/* general initialization */
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20701000L)
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20701000L)
|
||||
OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
|OPENSSL_INIT_ENGINE_ALL_BUILTIN
|
||||
|
Loading…
Reference in New Issue
Block a user