]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: delete unused `HAVE_OPENSSL3` macro
authorViktor Szakats <commit@vsz.me>
Sat, 24 Aug 2024 01:22:34 +0000 (03:22 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 26 Aug 2024 09:01:11 +0000 (11:01 +0200)
Closes #14672

.github/scripts/cmp-config.pl
m4/curl-amissl.m4
m4/curl-openssl.m4

index c72b5dffefc14e25cb10a496fe49b35057aca386..49c8d0676964fe3254f7ae59de7db3336a148334 100755 (executable)
@@ -52,7 +52,6 @@ my %remove = (
     '#define HAVE_LIBSSL 1' => 1,
     '#define HAVE_LIBZSTD 1' => 1,
     '#define HAVE_NGHTTP2_NGHTTP2_H 1' => 1,
-    '#define HAVE_OPENSSL3 1' => 1,
     '#define HAVE_OPENSSL_CRYPTO_H 1' => 1,
     '#define HAVE_OPENSSL_ERR_H 1' => 1,
     '#define HAVE_OPENSSL_PEM_H 1' => 1,
index 48067e72036be6b0ebdb77b5f64f132be5800746..b417207210c72fe277329ac61809a959e53ad3a3 100644 (file)
@@ -52,7 +52,6 @@ if test "$HAVE_PROTO_BSDSOCKET_H" = "1"; then
       LIBS="-lamisslstubs -lamisslauto $LIBS"
       AC_DEFINE(USE_AMISSL, 1, [if AmiSSL is in use])
       AC_DEFINE(USE_OPENSSL, 1, [if OpenSSL is in use])
-      AC_DEFINE_UNQUOTED(HAVE_OPENSSL3, 1, [Define to 1 if using OpenSSL 3 or later.])
       AC_CHECK_HEADERS(openssl/x509.h openssl/rsa.h openssl/crypto.h \
                        openssl/pem.h openssl/ssl.h openssl/err.h)
     ],[
index 5648f57ee9a8985caf6d3b13c5f0af84b78a955b..ed50b1c0836bb2f5b4aea2a45087ec32f0a8b7c8 100644 (file)
@@ -322,8 +322,6 @@ if test "x$OPT_OPENSSL" != xno; then
       ]])
     ],[
       AC_MSG_RESULT([yes])
-      AC_DEFINE_UNQUOTED(HAVE_OPENSSL3, 1,
-        [Define to 1 if using OpenSSL 3 or later.])
       ssl_msg="OpenSSL v3+"
     ],[
       AC_MSG_RESULT([no])