summaryrefslogtreecommitdiff
path: root/lib/curl_md4.h
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_md4.h
parent72e5fd83b2c00f85dc7218d83fee1d4efffb9b51 (diff)
downloadcurl-850a295b41543a11c5a0b5f4943e9b4fbc20da59.tar.gz
md4: Use our own MD4 implementation when no crypto libraries are available
Closes #3780
Diffstat (limited to 'lib/curl_md4.h')
-rw-r--r--lib/curl_md4.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/curl_md4.h b/lib/curl_md4.h
index 60087803d..82df708ce 100644
--- a/lib/curl_md4.h
+++ b/lib/curl_md4.h
@@ -24,18 +24,12 @@
#include "curl_setup.h"
-#if defined(USE_GNUTLS_NETTLE) || defined(USE_GNUTLS) || \
- defined(USE_OPENSSL) || defined(USE_SECTRANSP) || \
- defined(USE_WIN32_CRYPTO) || defined(USE_NSS) || \
- defined(USE_OS400CRYPTO) || defined(USE_MBEDTLS)
+#if !defined(CURL_DISABLE_CRYPTO_AUTH)
#define MD4_DIGEST_LENGTH 16
void Curl_md4it(unsigned char *output, const unsigned char *input, size_t len);
-#endif /* defined(USE_GNUTLS_NETTLE) || defined(USE_GNUTLS) ||
- defined(USE_OPENSSL) || defined(USE_SECTRANSP) ||
- defined(USE_WIN32_CRYPTO) || defined(USE_NSS) ||
- defined(USE_OS400CRYPTO) || defined(USE_MBEDTLS) */
+#endif /* !defined(CURL_DISABLE_CRYPTO_AUTH) */
#endif /* HEADER_CURL_MD4_H */