From 486334509fb8644698f158ca151fa564d735242c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 25 Mar 2026 15:46:32 +0100 Subject: [PATCH] curl_ntlm_core: drop redundant PP condition `LIBWOLFSSL_VERSION_HEX` is always present in supported wolfSSL versions. Closes #21096 --- lib/curl_ntlm_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c index 4a9433b293..11c33a49e2 100644 --- a/lib/curl_ntlm_core.c +++ b/lib/curl_ntlm_core.c @@ -84,7 +84,7 @@ # define DES_set_key_unchecked wolfSSL_DES_set_key_unchecked # define DES_ecb_encrypt wolfSSL_DES_ecb_encrypt # define DESKEY(x) ((WOLFSSL_DES_key_schedule *)(x)) -# if defined(LIBWOLFSSL_VERSION_HEX) && LIBWOLFSSL_VERSION_HEX >= 0x05007006 +# if LIBWOLFSSL_VERSION_HEX >= 0x05007006 # define DES_ENCRYPT WC_DES_ENCRYPT # define DES_DECRYPT WC_DES_DECRYPT # endif