]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
mbedtls: Remove unnecessary include
authorMAntoniak <47522782+MAntoniak@users.noreply.github.com>
Fri, 16 Jul 2021 15:21:02 +0000 (17:21 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Jul 2021 21:45:50 +0000 (23:45 +0200)
- curl_setup.h: all references to mbedtls_md4* functions and structures
  are in the md4.c. This file already includes the <mbedtls/md4.h> file
  along with the file existence control (defined (MBEDTLS_MD4_C))

- curl_ntlm_core.c: unnecessary include - repeated below

Closes #7419

lib/curl_ntlm_core.c
lib/curl_setup.h

index ef9b7480b83efa60817148e8fbf52ccb33a600ce..749b44e4a923b7c157e0de8ab803caef490edf54 100644 (file)
@@ -86,7 +86,6 @@
 #elif defined(USE_MBEDTLS)
 
 #  include <mbedtls/des.h>
-#  include "curl_md4.h"
 
 #elif defined(USE_SECTRANSP)
 
index 4382aeed2eb5559a98c38187a20803231e735901..c0861d79b7d10efb1227f2c78d5d77f2eb552833 100644 (file)
@@ -659,10 +659,6 @@ int netware_init(void);
       defined(USE_OS400CRYPTO) || defined(USE_WIN32_CRYPTO) ||              \
       (defined(USE_WOLFSSL) && defined(HAVE_WOLFSSL_DES_ECB_ENCRYPT))
 #    define USE_CURL_NTLM_CORE
-#    if defined(USE_MBEDTLS)
-       /* Get definition of MBEDTLS_MD4_C */
-#      include <mbedtls/md4.h>
-#    endif
 #  endif
 #  if defined(USE_CURL_NTLM_CORE) || defined(USE_WINDOWS_SSPI)
 #    define USE_NTLM