From 208f5642aa1fe37a0f78878879f8a503d0878cf8 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 18 Jul 2025 19:55:05 +0200 Subject: [PATCH] fix missing declaration lib/sha256.c:506:26: error: variable has incomplete type 'const struct HMAC_params' 506 | const struct HMAC_params Curl_HMAC_SHA256 = { | ^ lib/curl_sha256.h:34:21: note: forward declaration of 'struct HMAC_params' 34 | extern const struct HMAC_params Curl_HMAC_SHA256; | ^ 1 error generated. -DCURL_DISABLE_AWS=ON -DCURL_DISABLE_DIGEST_AUTH=ON -DCURL_ENABLE_SSL=OFF + libssh2 --- lib/curl_hmac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/curl_hmac.h b/lib/curl_hmac.h index f54edeb49e..9675c6c542 100644 --- a/lib/curl_hmac.h +++ b/lib/curl_hmac.h @@ -26,7 +26,7 @@ #if (defined(USE_CURL_NTLM_CORE) && !defined(USE_WINDOWS_SSPI)) || \ !defined(CURL_DISABLE_AWS) || !defined(CURL_DISABLE_DIGEST_AUTH) || \ - defined(USE_SSL) + defined(USE_LIBSSH2) || defined(USE_SSL) #include