aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ntlm_core.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-04-14 19:24:28 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-08-04 18:01:29 +0100
commit850a295b41543a11c5a0b5f4943e9b4fbc20da59 (patch)
tree9dd50cae65b3923d6215f57e6d8c2476f4f2d10a /lib/curl_ntlm_core.c
parent72e5fd83b2c00f85dc7218d83fee1d4efffb9b51 (diff)
md4: Use our own MD4 implementation when no crypto libraries are available
Closes #3780
Diffstat (limited to 'lib/curl_ntlm_core.c')
-rw-r--r--lib/curl_ntlm_core.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c
index b2a6afc0c..19f9b61d8 100644
--- a/lib/curl_ntlm_core.c
+++ b/lib/curl_ntlm_core.c
@@ -556,12 +556,7 @@ CURLcode Curl_ntlm_core_mk_nt_hash(struct Curl_easy *data,
return result;
/* Create NT hashed password. */
-#if defined(USE_OPENSSL) || defined(USE_GNUTLS_NETTLE) || \
- defined(USE_GNUTLS) || defined(USE_NSS) || defined(USE_MBEDTLS) || \
- defined(USE_SECTRANSP) || defined(USE_OS400CRYPTO) || \
- defined(USE_WIN32_CRYPTO)
Curl_md4it(ntbuffer, pw, 2 * len);
-#endif
memset(ntbuffer + 16, 0, 21 - 16);