From 94043b11508b9a4bf1fbee9ea17ef658c6413d9d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Nov 2004 09:18:14 +0000 Subject: 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.) --- lib/md5.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/md5.c') diff --git a/lib/md5.c b/lib/md5.c index 269726b96..1847c3cd1 100644 --- a/lib/md5.c +++ b/lib/md5.c @@ -23,6 +23,8 @@ #include "setup.h" +#ifndef CURL_DISABLE_CRYPTO_AUTH + #ifndef USE_SSLEAY /* This code segment is only used if OpenSSL is not provided, as if it is we use the MD5-function provided there instead. No good duplicating @@ -346,3 +348,5 @@ void Curl_md5it(unsigned char *outbuffer, /* 16 bytes */ MD5_Update(&ctx, input, strlen((char *)input)); MD5_Final(outbuffer, &ctx); } + +#endif -- cgit v1.2.3