summaryrefslogtreecommitdiffstats
path: root/tcpd
diff options
context:
space:
mode:
authorSam Varshavchik2017-07-07 06:30:02 -0400
committerSam Varshavchik2017-07-07 06:30:02 -0400
commitc411fc51768a4de3d9c607237590ee9bc2571296 (patch)
tree5fcc5f6633844741270b2dea68fa93584a9d7495 /tcpd
parent6960037bb1c2a566a6cf74275be336e43697a0dc (diff)
downloadcourier-libs-c411fc51768a4de3d9c607237590ee9bc2571296.tar.bz2
Update for OpenSSL 1.1.0.
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