summaryrefslogtreecommitdiff
path: root/lib/curl_ntlm_core.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-04-14 03:27:21 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-08-04 18:01:28 +0100
commit2ff216f1b01e2b345e1b011ca5f72ef3a2ece954 (patch)
tree697b255e4b93c2fdc91c83c195167d526f2432bf /lib/curl_ntlm_core.c
parentc5eb2fd61869d33e48d55007e6d262c2b80e01e8 (diff)
downloadcurl-2ff216f1b01e2b345e1b011ca5f72ef3a2ece954.tar.gz
md4: Move the mbed TLS MD4 implementation out of the NTLM code
Diffstat (limited to 'lib/curl_ntlm_core.c')
-rw-r--r--lib/curl_ntlm_core.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c
index abf4ac0b5..c81dce5d3 100644
--- a/lib/curl_ntlm_core.c
+++ b/lib/curl_ntlm_core.c
@@ -94,10 +94,7 @@
#elif defined(USE_MBEDTLS)
# include <mbedtls/des.h>
-# include <mbedtls/md4.h>
-# if !defined(MBEDTLS_MD4_C)
-# include "curl_md4.h"
-# endif
+# include "curl_md4.h"
#elif defined(USE_SECTRANSP)
@@ -575,11 +572,7 @@ CURLcode Curl_ntlm_core_mk_nt_hash(struct Curl_easy *data,
#elif defined(USE_NSS)
Curl_md4it(ntbuffer, pw, 2 * len);
#elif defined(USE_MBEDTLS)
-#if defined(MBEDTLS_MD4_C)
- mbedtls_md4(pw, 2 * len, ntbuffer);
-#else
Curl_md4it(ntbuffer, pw, 2 * len);
-#endif
#elif defined(USE_SECTRANSP)
Curl_md4it(ntbuffer, pw, 2 * len);
#elif defined(USE_OS400CRYPTO)