]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
autotools: drop detection of ancient OpenSSL libs `RSAglue` and `rsaref`
authorViktor Szakats <commit@vsz.me>
Thu, 16 Oct 2025 03:33:12 +0000 (05:33 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 16 Oct 2025 14:19:05 +0000 (16:19 +0200)
Closes #19078

m4/curl-openssl.m4

index c421fbae883c1329325c056e791832dabaa6dc4a..56245c9c2a9e8a9cb96cc02958aa15b2f1f1a6da 100644 (file)
@@ -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,