From 8b287852a3e9b1a8f0dc3813f2cdf6e5ac042efa Mon Sep 17 00:00:00 2001 From: Adam Griffiths Date: Sun, 18 Nov 2018 07:24:49 +0000 Subject: [PATCH] Switching SSL_library_init with OPENSSL_init_ssl As explained here https://github.com/tsiv/ccminer-cryptonight/issues/25 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f30d824aa0c..e75733ba401 100644 --- a/configure.ac +++ b/configure.ac @@ -1331,7 +1331,7 @@ if test "x$with_openssl" = "xyes"; then AC_CHECK_LIB(crypto,[CRYPTO_new_ex_data],[LIBOPENSSL_LIBS="-lcrypto $LIBOPENSSL_LIBS"],[ AC_MSG_ERROR([library 'crypto' is required for OpenSSL]) ],$LIBOPENSSL_LIBS) - AC_CHECK_LIB(ssl,[SSL_library_init],[LIBOPENSSL_LIBS="-lssl $LIBOPENSSL_LIBS"],[ + AC_CHECK_LIB(ssl,[OPENSSL_init_ssl],[LIBOPENSSL_LIBS="-lssl $LIBOPENSSL_LIBS"],[ AC_MSG_ERROR([library 'ssl' is required for OpenSSL]) ],$LIBOPENSSL_LIBS) ])