From e9fadcc86e3d86cb701d083de5d5fb5cf86a6b92 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 14 Mar 2025 21:12:09 +0000 Subject: [PATCH] Fix NO_DES3 definition when WOLFSSL_CLU is enabled Co-Authored-By: eric@wolfssl.com --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55fe1a031..23a5c21c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2056,6 +2056,8 @@ if(WOLFSSL_CLU) list(APPEND WOLFSSL_DEFINITIONS "-DHAVE_OID_ENCODING" "-DWOLFSSL_NO_ASN_STRICT" "-DWOLFSSL_ALT_NAMES") # Add OPENSSL_ALL definition to ensure OpenSSL compatibility functions are available list(APPEND WOLFSSL_DEFINITIONS "-DOPENSSL_ALL") + # Remove NO_DES3 from WOLFSSL_DEFINITIONS to ensure DES3 is enabled + list(REMOVE_ITEM WOLFSSL_DEFINITIONS "-DNO_DES3") endif() if(WOLFSSL_AESCFB)