From 86fae80c87323d1079df3fed443241cc8fe595d7 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 30 Jul 2026 02:42:01 +0200 Subject: [PATCH] am f --- configure.ac | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index a27e28d79d..720d31453b 100644 --- a/configure.ac +++ b/configure.ac @@ -4610,13 +4610,12 @@ AS_HELP_STRING([--disable-httpsig],[Disable HTTP Message Signatures support (exp want_httpsig="no" ) -if test "$want_httpsig" = "yes"; then - if test "$OPENSSL_ENABLED" = "1" || test "$WOLFSSL_ENABLED" = "1"; then - AC_MSG_WARN([HTTPSIG requires OpenSSL or wolfSSL. HTTPSIG support disabled.]) - else - AC_DEFINE(CURL_DISABLE_HTTPSIG, 1, [to disable HTTP Message Signatures support]) - want_httpsig="no" - fi +if test "$want_httpsig" = "yes" && test "$OPENSSL_ENABLED" != "1" && test "$WOLFSSL_ENABLED" = "1"; then + AC_MSG_WARN([HTTPSIG requires OpenSSL or wolfSSL. HTTPSIG support disabled.]) + want_httpsig="no" +fi +if test "$want_httpsig" != "yes"; then + AC_DEFINE(CURL_DISABLE_HTTPSIG, 1, [to disable HTTP Message Signatures support]) fi dnl ************************************************************