1 --- a/lib/curl_ntlm_msgs.c
2 +++ b/lib/curl_ntlm_msgs.c
3 @@ -569,7 +569,7 @@ CURLcode Curl_sasl_create_ntlm_type3_mes
7 -#if USE_NTRESPONSES && USE_NTLM2SESSION
8 +#if USE_NTRESPONSES && USE_NTLM2SESSION && !defined(CURL_DISABLE_CRYPTO_AUTH)
9 /* We don't support NTLM2 if we don't have USE_NTRESPONSES */
10 if(ntlm->flags & NTLMFLAG_NEGOTIATE_NTLM2_KEY) {
11 unsigned char ntbuffer[0x18];
14 @@ -921,9 +921,9 @@ CURLcode Curl_ssl_md5sum(unsigned char *
15 unsigned char *md5sum, /* output */
18 -#ifdef curlssl_md5sum
19 +#if defined(curlssl_md5sum)
20 curlssl_md5sum(tmp, tmplen, md5sum, md5len);
22 +#elif !defined(CURL_DISABLE_CRYPTO_AUTH)