mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:33:37 +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
|
|
@ -379,7 +379,9 @@ CURLcode Curl_close(struct Curl_easy *data)
|
|||
Curl_altsvc_cleanup(data->asi);
|
||||
data->asi = NULL;
|
||||
#endif
|
||||
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_CRYPTO_AUTH)
|
||||
Curl_digest_cleanup(data);
|
||||
#endif
|
||||
Curl_safefree(data->info.contenttype);
|
||||
Curl_safefree(data->info.wouldredirect);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue