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
This commit is contained in:
Viktor Szakats 2025-07-18 19:55:05 +02:00
parent 904ddd39c6
commit 208f5642aa
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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 <curl/curl.h>