ITS#8353 -- More for OpenSSL 1.1.0 compat

This commit is contained in:
Quanah Gibson-Mount 2016-12-07 18:10:14 -08:00
parent cd140c12eb
commit 75629f002e

View File

@ -1179,7 +1179,7 @@ if test $ol_with_tls = openssl || test $ol_with_tls = auto ; then
AC_CHECK_HEADERS(openssl/ssl.h) AC_CHECK_HEADERS(openssl/ssl.h)
if test $ac_cv_header_openssl_ssl_h = yes ; then if test $ac_cv_header_openssl_ssl_h = yes ; then
AC_CHECK_LIB(ssl, SSL_library_init, AC_CHECK_LIB(ssl, SSL_CTX_set_msg_callback,
[have_openssl=yes [have_openssl=yes
need_rsaref=no], [have_openssl=no], need_rsaref=no], [have_openssl=no],
[-lcrypto]) [-lcrypto])