1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

md4: No need to include Curl_md4.h for each TLS library

This commit is contained in:
Steve Holme 2019-04-14 10:33:46 +01:00
parent 3d9685ee55
commit 72e5fd83b2
No known key found for this signature in database
GPG Key ID: 4059CB85CA7E8F19

View File

@ -70,16 +70,13 @@
# 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)
@ -100,14 +96,11 @@
# 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
@ -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"