Fix LibreSSL compatibility
This commit is contained in:
parent
3c048f0d56
commit
d7960b463f
2
common.c
2
common.c
|
@ -37,7 +37,7 @@
|
||||||
static void
|
static void
|
||||||
init_openssl (void)
|
init_openssl (void)
|
||||||
{
|
{
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER
|
||||||
SSL_library_init ();
|
SSL_library_init ();
|
||||||
// XXX: this list is probably not complete
|
// XXX: this list is probably not complete
|
||||||
atexit (EVP_cleanup);
|
atexit (EVP_cleanup);
|
||||||
|
|
Loading…
Reference in New Issue