aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-12 09:18:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-12 09:18:14 +0000
commit94043b11508b9a4bf1fbee9ea17ef658c6413d9d (patch)
tree48d11ab65947de4a993afa6d4de38327cc3a6f34 /lib/url.c
parent1b02ad5e8a35ccd682429e387ccb63022ca2339a (diff)
Dan Fandrich added the --disable-crypto-auth option to configure to allow
libcurl to build without Digest support. (I figure it should also explicitly disable Negotiate and NTLM.)
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 5d0e801b5..78224df0e 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -250,8 +250,10 @@ CURLcode Curl_close(struct SessionHandle *data)
}
Curl_share_unlock(data, CURL_LOCK_DATA_COOKIE);
+#ifndef CURL_DISABLE_CRYPTO_AUTH
Curl_digest_cleanup(data);
#endif
+#endif
/* free the connection cache */
free(data->state.connects);