]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: delete unused crypto header includes
authorViktor Szakats <commit@vsz.me>
Fri, 24 Oct 2025 16:46:50 +0000 (18:46 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 24 Oct 2025 20:53:26 +0000 (22:53 +0200)
Tested OK with full non-unity CI run.

Closes #19225

lib/curl_ntlm_core.c
lib/curl_sasl.c
lib/md4.c
lib/vauth/ntlm.c
lib/vssh/libssh2.c
lib/vtls/vtls.c

index 72a0f24b77f2b67b169b350364b6ca8772b1f889..9c5e8047795bc0632b9cf1882cdd8357be9fe5aa 100644 (file)
@@ -69,7 +69,6 @@
 
 #ifdef USE_OPENSSL
 #  include <openssl/des.h>
-#  include <openssl/md5.h>
 #  include <openssl/ssl.h>
 #  include <openssl/rand.h>
 #  ifdef OPENSSL_IS_AWSLC  /* for versions 1.2.0 to 1.30.1 */
@@ -79,7 +78,6 @@
 #else
 #  include <wolfssl/options.h>
 #  include <wolfssl/openssl/des.h>
-#  include <wolfssl/openssl/md5.h>
 #  include <wolfssl/openssl/ssl.h>
 #  include <wolfssl/openssl/rand.h>
 #  ifdef OPENSSL_COEXIST
index c907c2c27bb2a1b1e007dfa8461b0cfa8c897d6d..043786f73fa1abfe22bffd74787ad2c779e6dbc6 100644 (file)
@@ -43,7 +43,6 @@
 #include "urldata.h"
 
 #include "curlx/base64.h"
-#include "curl_md5.h"
 #include "vauth/vauth.h"
 #include "cfilters.h"
 #include "vtls/vtls.h"
index 083ecb0d48f265c1c58efe935f496d617db2e90f..d86a24628c464290fe0cead83f712886fc84dd61 100644 (file)
--- a/lib/md4.c
+++ b/lib/md4.c
@@ -28,7 +28,6 @@
 
 #include <string.h>
 
-#include "strdup.h"
 #include "curl_md4.h"
 #include "curlx/warnless.h"
 
index d860fbbd5058341c6758cdd95698c859eabbc423..4b793b7cdbb40176632ed4fc805d1c12c3556667 100644 (file)
@@ -40,7 +40,6 @@
 #include "../curl_ntlm_core.h"
 #include "../curl_gethostname.h"
 #include "../curlx/multibyte.h"
-#include "../curl_md5.h"
 #include "../curlx/warnless.h"
 #include "../rand.h"
 #include "../vtls/vtls.h"
index c0335db9c103dceefa424f94790361563cb9055d..bd444c7b87e86d31fd59ea3165ac6c3ca334137e 100644 (file)
@@ -69,7 +69,6 @@
 #include "curl_path.h"
 #include "../curlx/strparse.h"
 #include "../curlx/base64.h" /* for base64 encoding/decoding */
-#include "../curl_sha256.h"
 
 /* The last 2 #include files should be in this order */
 #include "../curl_memory.h"
index 115559b70db86ba2eab978ed1c2c7f557b224bf3..973e4b2c01ee2f2e69c2ca1f6e57af4710a50519 100644 (file)
@@ -67,7 +67,6 @@
 #include "../multiif.h"
 #include "../curlx/fopen.h"
 #include "../curlx/timeval.h"
-#include "../curl_md5.h"
 #include "../curl_sha256.h"
 #include "../curlx/warnless.h"
 #include "../curlx/base64.h"