diff options
author | MAntoniak <47522782+MAntoniak@users.noreply.github.com> | 2021-07-16 17:21:02 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-07-16 23:45:50 +0200 |
commit | d84fb306810f63bf3cbd08dffa58381735e495c9 (patch) | |
tree | 3498d27fa8bdf48fc8cc9100cfc976a02f4c30d7 /lib | |
parent | 30f9ce230171d7f5ec40728954c371076f74c2ab (diff) | |
download | curl-d84fb306810f63bf3cbd08dffa58381735e495c9.tar.gz |
mbedtls: Remove unnecessary include
- 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_ntlm_core.c | 1 | ||||
-rw-r--r-- | lib/curl_setup.h | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c index ef9b7480b..749b44e4a 100644 --- a/lib/curl_ntlm_core.c +++ b/lib/curl_ntlm_core.c @@ -86,7 +86,6 @@ #elif defined(USE_MBEDTLS) # include <mbedtls/des.h> -# include "curl_md4.h" #elif defined(USE_SECTRANSP) diff --git a/lib/curl_setup.h b/lib/curl_setup.h index 4382aeed2..c0861d79b 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -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 |