mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:23:39 +03:00
http_digest: Don't expose functions when HTTP and Crypto Auth are disabled
Closes #3861
This commit is contained in:
parent
fb243b0475
commit
5c2aebe308
3 changed files with 10 additions and 5 deletions
|
|
@ -961,7 +961,10 @@ void curl_easy_reset(struct Curl_easy *data)
|
|||
/* zero out authentication data: */
|
||||
memset(&data->state.authhost, 0, sizeof(struct auth));
|
||||
memset(&data->state.authproxy, 0, sizeof(struct auth));
|
||||
|
||||
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_CRYPTO_AUTH)
|
||||
Curl_digest_cleanup(data);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue