Skip to content

Commit

Permalink
Switching SSL_library_init with OPENSSL_init_ssl
Browse files Browse the repository at this point in the history
As explained here tsiv/ccminer-cryptonight#25
  • Loading branch information
aogriffiths authored Nov 18, 2018
1 parent 3dc6f00 commit 8b28785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)
])
Expand Down

0 comments on commit 8b28785

Please sign in to comment.