From: Viktor Szakats Date: Thu, 16 Oct 2025 03:33:12 +0000 (+0200) Subject: autotools: drop detection of ancient OpenSSL libs `RSAglue` and `rsaref` X-Git-Tag: rc-8_17_0-2~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c36eace607190d2e3931b04c8a36ee7c4b0120a;p=thirdparty%2Fcurl.git autotools: drop detection of ancient OpenSSL libs `RSAglue` and `rsaref` Closes #19078 --- diff --git a/m4/curl-openssl.m4 b/m4/curl-openssl.m4 index c421fbae88..56245c9c2a 100644 --- a/m4/curl-openssl.m4 +++ b/m4/curl-openssl.m4 @@ -209,22 +209,7 @@ if test "x$OPT_OPENSSL" != xno; then AC_CHECK_LIB(ssl, SSL_connect) - if test "$ac_cv_lib_ssl_SSL_connect" != yes; then - dnl we didn't find the SSL lib, try the RSAglue/rsaref stuff - AC_MSG_CHECKING(for ssl with RSAglue/rsaref libs in use); - OLIBS=$LIBS - LIBS="-lRSAglue -lrsaref $LIBS" - AC_CHECK_LIB(ssl, SSL_connect) - if test "$ac_cv_lib_ssl_SSL_connect" != yes; then - dnl still no SSL_connect - AC_MSG_RESULT(no) - LIBS=$OLIBS - else - AC_MSG_RESULT(yes) - fi - - else - + if test "$ac_cv_lib_ssl_SSL_connect" = yes; then dnl Have the libraries--check for OpenSSL headers AC_CHECK_HEADERS(openssl/x509.h openssl/rsa.h openssl/crypto.h \ openssl/pem.h openssl/ssl.h openssl/err.h,