diff --git a/configure.in b/configure.in index 97a7d8d69c..d2c70b6aa2 100644 --- a/configure.in +++ b/configure.in @@ -1179,7 +1179,7 @@ if test $ol_with_tls = openssl || test $ol_with_tls = auto ; then AC_CHECK_HEADERS(openssl/ssl.h) 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 need_rsaref=no], [have_openssl=no], [-lcrypto])