summaryrefslogtreecommitdiff
path: root/lib/curl_ntlm_core.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-04-14 02:45:02 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-08-04 18:01:27 +0100
commit11c50f76552711f12f304bfb626f4f4ebfe8567a (patch)
tree065a352b8c66eeac52e6333a8e9bc31918fcee10 /lib/curl_ntlm_core.c
parent24c298fb4db4c97d477f806a269f2ee524ceb814 (diff)
downloadcurl-11c50f76552711f12f304bfb626f4f4ebfe8567a.tar.gz
md4: Move the SecureTransport implementation out of the NTLM code
Diffstat (limited to 'lib/curl_ntlm_core.c')
-rw-r--r--lib/curl_ntlm_core.c3
1 files changed, 2 insertions, 1 deletions
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 <CommonCrypto/CommonCryptor.h>
# include <CommonCrypto/CommonDigest.h>
+# 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)