gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 56/220: md4: No need to include Curl_md4.h for each


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 56/220: md4: No need to include Curl_md4.h for each TLS library
Date: Thu, 12 Sep 2019 17:26:56 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 72e5fd83b2c00f85dc7218d83fee1d4efffb9b51
Author: Steve Holme <address@hidden>
AuthorDate: Sun Apr 14 10:33:46 2019 +0100

    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 <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"

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]