From bc148fb68904cb5a2e4fce0498b96f481266b66d Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Tue, 10 Sep 2019 17:21:17 +0200 Subject: [PATCH] Make check compatible with OpenSSL 1.1 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 008a85ae432..a1f2823a199 100644 --- a/configure.ac +++ b/configure.ac @@ -1335,7 +1335,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,[SSL_CTX_new],[LIBOPENSSL_LIBS="-lssl $LIBOPENSSL_LIBS"],[ AC_MSG_ERROR([library 'ssl' is required for OpenSSL]) ],$LIBOPENSSL_LIBS) ])