Fix LibreSSL compatibility

This commit is contained in:
Přemysl Eric Janouch 2016-12-30 08:51:49 +01:00
parent 3c048f0d56
commit d7960b463f
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
static void
init_openssl (void)
{
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER
SSL_library_init ();
// XXX: this list is probably not complete
atexit (EVP_cleanup);