summaryrefslogtreecommitdiffstats
path: root/tcpd
diff options
context:
space:
mode:
Diffstat (limited to 'tcpd')
-rw-r--r--tcpd/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpd/configure.ac b/tcpd/configure.ac
index e3c25b1..abbad25 100644
--- a/tcpd/configure.ac
+++ b/tcpd/configure.ac
@@ -286,7 +286,8 @@ AC_MSG_RESULT($spipe)
AC_CHECK_HEADER(openssl/ssl.h,have_ssl_h=yes,have_ssl_h=no)
AC_CHECK_LIB(ssl, SSL_load_error_strings, have_ssl=yes, have_ssl=no,
-lcrypto)
-AC_CHECK_LIB(ssl, OPENSSL_cleanup,have_ssl=yes)
+AC_CHECK_LIB(ssl, SSL_library_init, have_ssl=yes)
+AC_CHECK_LIB(ssl, OPENSSL_init_ssl, have_ssl=yes)
if test "$have_ssl" = "yes"
then