diff options
author | Steve Holme <steve_holme@hotmail.com> | 2019-05-10 13:10:34 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2019-05-11 17:23:32 +0100 |
commit | 5c2aebe308e459d2ca8fad29bde7885190ffe262 (patch) | |
tree | 65b012ccc16164946fc36d5637609c8dc4de4959 /lib/url.c | |
parent | fb243b0475c2a3a60889120ee3f05380e60645f0 (diff) | |
download | curl-5c2aebe308e459d2ca8fad29bde7885190ffe262.tar.gz |
http_digest: Don't expose functions when HTTP and Crypto Auth are disabled
Closes #3861
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 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); |