]> granicus.if.org Git - curl/commitdiff
md4: No need to include Curl_md4.h for each TLS library
authorSteve Holme <steve_holme@hotmail.com>
Sun, 14 Apr 2019 09:33:46 +0000 (10:33 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 4 Aug 2019 17:01:29 +0000 (18:01 +0100)
lib/curl_ntlm_core.c

index d9594fa8d2732dd4213dd4a412db8ff37d985078..b2a6afc0cd11402f48da1691108eca49e6afdfcd 100644 (file)
 #    define DESKEYARG(x) *x
 #    define DESKEY(x) &x
 #  endif
-#  include "curl_md4.h"
 
 #elif defined(USE_GNUTLS_NETTLE)
 
 #  include <nettle/des.h>
-#  include "curl_md4.h"
 
 #elif defined(USE_GNUTLS)
 
-#  include "curl_md4.h"
 #  include <gcrypt.h>
 #  define MD5_DIGEST_LENGTH 16
 
@@ -88,7 +85,6 @@
 #  include <nss.h>
 #  include <pk11pub.h>
 #  include <hasht.h>
-#  include "curl_md4.h"
 #  define MD5_DIGEST_LENGTH MD5_LENGTH
 
 #elif defined(USE_MBEDTLS)
 
 #  include <CommonCrypto/CommonCryptor.h>
 #  include <CommonCrypto/CommonDigest.h>
-#  include "curl_md4.h"
 
 #elif defined(USE_OS400CRYPTO)
 #  include "cipher.mih"  /* mih/cipher */
-#  include "curl_md4.h"
 #elif defined(USE_WIN32_CRYPTO)
 #  include <wincrypt.h>
-#  include "curl_md4.h"
 #else
 #  error "Can't compile NTLM support without a crypto library."
 #endif
 #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"