From 2f28d565fc84919a67ac3ebd28ce4a5de79b99da Mon Sep 17 00:00:00 2001 From: Michael Ortmann <41313082+michaelortmann@users.noreply.github.com> Date: Tue, 9 Jul 2024 22:32:12 +0200 Subject: [PATCH] Enhance openssl function / library / version check / message --- aclocal.m4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 748fb2969..7ec45b670 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1595,11 +1595,11 @@ AC_DEFUN([EGG_TLS_DETECT], if test -z "$SSL_LIBS"; then AC_CHECK_LIB(crypto, X509_digest, , [havessllib="no"], [-lssl]) AC_CHECK_LIB(ssl, SSL_accept, , [havessllib="no"], [-lcrypto]) - AC_CHECK_FUNCS([EVP_sha1 a2i_IPADDRESS], , [[ - havessllib="no" - break - ]]) fi + AC_CHECK_FUNCS([EVP_sha1 a2i_IPADDRESS], , [[ + havessllib="no" + break + ]]) AC_CHECK_FUNCS([EVP_md5]) AC_CHECK_FUNC(OPENSSL_buf2hexstr, , AC_CHECK_FUNC(hex_to_string, @@ -1622,7 +1622,7 @@ AC_DEFUN([EGG_TLS_DETECT], AC_MSG_WARN([Please specify the path to the openssl include dir using --with-sslinc=path]) fi if test "$havessllib" = "no"; then - AC_MSG_WARN([Cannot find OpenSSL libraries.]) + AC_MSG_WARN([Cannot find OpenSSL library 0.9.8 or newer.]) AC_MSG_WARN([Please specify the path to libssl and libcrypto using --with-ssllib=path]) fi AC_MSG_CHECKING([for OpenSSL])