This commit is contained in:
Viktor Szakats 2026-07-30 02:42:01 +02:00
parent 0392cf126b
commit 86fae80c87
No known key found for this signature in database

View file

@ -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 ************************************************************