From 72e5fd83b2c00f85dc7218d83fee1d4efffb9b51 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 14 Apr 2019 10:33:46 +0100 Subject: md4: No need to include Curl_md4.h for each TLS library --- lib/curl_ntlm_core.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c index d9594fa8d..b2a6afc0c 100644 --- a/lib/curl_ntlm_core.c +++ b/lib/curl_ntlm_core.c @@ -70,16 +70,13 @@ # define DESKEYARG(x) *x # define DESKEY(x) &x # endif -# include "curl_md4.h" #elif defined(USE_GNUTLS_NETTLE) # include -# include "curl_md4.h" #elif defined(USE_GNUTLS) -# include "curl_md4.h" # include # define MD5_DIGEST_LENGTH 16 @@ -88,7 +85,6 @@ # include # include # include -# include "curl_md4.h" # define MD5_DIGEST_LENGTH MD5_LENGTH #elif defined(USE_MBEDTLS) @@ -100,14 +96,11 @@ # include # include -# include "curl_md4.h" #elif defined(USE_OS400CRYPTO) # include "cipher.mih" /* mih/cipher */ -# include "curl_md4.h" #elif defined(USE_WIN32_CRYPTO) # include -# include "curl_md4.h" #else # error "Can't compile NTLM support without a crypto library." #endif @@ -121,6 +114,7 @@ #include "warnless.h" #include "curl_endian.h" #include "curl_des.h" +#include "curl_md4.h" /* The last 3 #include files should be in this order */ #include "curl_printf.h" #include "curl_memory.h" -- cgit v1.2.1