From 11c50f76552711f12f304bfb626f4f4ebfe8567a Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 14 Apr 2019 02:45:02 +0100 Subject: md4: Move the SecureTransport implementation out of the NTLM code --- lib/curl_ntlm_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/curl_ntlm_core.c') diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c index 9ad0de8f7..332d9409a 100644 --- a/lib/curl_ntlm_core.c +++ b/lib/curl_ntlm_core.c @@ -103,6 +103,7 @@ # include # include +# include "curl_md4.h" #elif defined(USE_OS400CRYPTO) # include "cipher.mih" /* mih/cipher */ @@ -579,7 +580,7 @@ CURLcode Curl_ntlm_core_mk_nt_hash(struct Curl_easy *data, Curl_md4it(ntbuffer, pw, 2 * len); #endif #elif defined(USE_SECTRANSP) - (void)CC_MD4(pw, (CC_LONG)(2 * len), ntbuffer); + Curl_md4it(ntbuffer, pw, 2 * len); #elif defined(USE_OS400CRYPTO) Curl_md4it(ntbuffer, pw, 2 * len); #elif defined(USE_WIN32_CRYPTO) -- cgit v1.2.3