From 91f9f02606dde5199dc531a4ffa6479a5b6546c0 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 24 Apr 2017 19:02:56 +0200 Subject: [PATCH] LibreSSL compat --- src/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls.c b/src/tls.c index 21c83b27..c693d3b4 100644 --- a/src/tls.c +++ b/src/tls.c @@ -258,7 +258,7 @@ int tls_init_library(void) tls_cnx_handshook = 0; tls_data_cnx_handshook = 0; -# if OPENSSL_VERSION_NUMBER < 0x10100000L +# if (OPENSSL_VERSION_NUMBER < 0x10100000L) || !defined(OPENSSL_INIT_LOAD_SSL_STRINGS) SSL_library_init(); SSL_load_error_strings(); OpenSSL_add_all_algorithms();