]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_ntlm_core: drop unused OpenSSL/wolfSSL headers
authorViktor Szakats <commit@vsz.me>
Sat, 20 Dec 2025 11:23:21 +0000 (12:23 +0100)
committerViktor Szakats <commit@vsz.me>
Sat, 20 Dec 2025 11:59:06 +0000 (12:59 +0100)
`openssl/rand.h` and `openssl/ssl.h`.

Closes #20048

lib/curl_ntlm_core.c

index 88ad5596f673a1de6f637683e3efa4a62299d0af..14a9b3d0c87f067050f1e2f7e7a12a74b53ef8f9 100644 (file)
@@ -69,8 +69,6 @@
 
 #ifdef USE_OPENSSL
 #  include <openssl/des.h>
-#  include <openssl/ssl.h>
-#  include <openssl/rand.h>
 #  ifdef OPENSSL_IS_AWSLC  /* for versions 1.2.0 to 1.30.1 */
 #    define DES_set_key_unchecked (void)DES_set_key
 #  endif
@@ -78,8 +76,6 @@
 #else
 #  include <wolfssl/options.h>
 #  include <wolfssl/openssl/des.h>
-#  include <wolfssl/openssl/ssl.h>
-#  include <wolfssl/openssl/rand.h>
 #  ifdef OPENSSL_COEXIST
 #    define DES_key_schedule      WOLFSSL_DES_key_schedule
 #    define DES_cblock            WOLFSSL_DES_cblock