You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build error: implicit declaration of function 'Curl_auth_is_digest_supported' #17612
./configure --without-libpsl --with-openssl --disable-digest-auth
make
This build error happen :
CC libcurl_la-curl_sasl.lo
curl_sasl.c: In function 'Curl_sasl_is_blocked':
curl_sasl.c:838:37: error: implicit declaration of function 'Curl_auth_is_digest_supported'; did you mean 'Curl_auth_is_ntlm_supported'? [-Werror=implicit-function-declaration]
838 | CURL_SASL_DIGEST, Curl_auth_is_digest_supported(), NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Curl_auth_is_ntlm_supported
cc1: some warnings being treated as errors
make[2]: *** [Makefile:2622: libcurl_la-curl_sasl.lo] Error 1
I expected the following
Patch the build error.
This case is certainly not covered by a test.
Patch idea :
As for Curl_auth_is_gssapi_supported() && Curl_auth_is_ntlm_supported() in vauth.h, define Curl_auth_is_digest_supported() as false when CURL_DISABLE_DIGEST_AUTH is not defined ?
Activity
tritriper commentedon Jun 13, 2025
Patch idea :
As for
Curl_auth_is_gssapi_supported()&&Curl_auth_is_ntlm_supported()in vauth.h, defineCurl_auth_is_digest_supported()as false when CURL_DISABLE_DIGEST_AUTH is not defined ?add at vauth.h:120 :
fix build with disabled digest auth
icing commentedon Jun 13, 2025
Thanks! Made #17614 with exactly this.
digest: fix build with disabled digest auth
digest: fix build with disabled digest auth