summaryrefslogtreecommitdiff
path: root/lib/curl_md4.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-04-13 21:47:56 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-04-23 20:00:33 +0100
commitcd15acd0ecc19401af0002fb8128b53bdc99bb68 (patch)
treed94f2729244ee70092c292bfa044f221cc46cf38 /lib/curl_md4.h
parent7794cacf7e1798b1d21ce77273ffe8ea20a40d53 (diff)
downloadcurl-cd15acd0ecc19401af0002fb8128b53bdc99bb68.tar.gz
ntlm: Support the NT response in the type-3 when OpenSSL doesn't include MD4
Just like we do for mbed TLS, use our local implementation of MD4 when OpenSSL doesn't support it. This allows a type-3 message to include the NT response.
Diffstat (limited to 'lib/curl_md4.h')
-rw-r--r--lib/curl_md4.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/curl_md4.h b/lib/curl_md4.h
index e0690416d..dafbbed29 100644
--- a/lib/curl_md4.h
+++ b/lib/curl_md4.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -25,11 +25,13 @@
#include "curl_setup.h"
#if defined(USE_NSS) || defined(USE_OS400CRYPTO) || \
+ (defined(USE_OPENSSL) && defined(OPENSSL_NO_MD4)) \
(defined(USE_MBEDTLS) && !defined(MBEDTLS_MD4_C))
void Curl_md4it(unsigned char *output, const unsigned char *input, size_t len);
#endif /* defined(USE_NSS) || defined(USE_OS400CRYPTO) ||
+ (defined(USE_OPENSSL) && defined(OPENSSL_NO_MD4)) ||
(defined(USE_MBEDTLS) && !defined(MBEDTLS_MD4_C)) */
#endif /* HEADER_CURL_MD4_H */