From 29783dd2cf1d1beed4c6523ea38f13afaf484311 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Fri, 6 Mar 2026 14:32:06 -0600 Subject: [PATCH] wolfssl/wolfcrypt/error-crypt.h: add do-nothing WC_ERR_TRACE() fallthrough definition to make WC_ERR_TRACE() safe to use ungated in code. --- wolfssl/wolfcrypt/error-crypt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wolfssl/wolfcrypt/error-crypt.h b/wolfssl/wolfcrypt/error-crypt.h index 2207f3b9ac..db5530045a 100644 --- a/wolfssl/wolfcrypt/error-crypt.h +++ b/wolfssl/wolfcrypt/error-crypt.h @@ -380,6 +380,9 @@ WOLFSSL_ABI WOLFSSL_API const char* wc_GetErrorString(int error); #include #else #define WC_NO_ERR_TRACE(label) (label) + #ifndef WC_ERR_TRACE + #define WC_ERR_TRACE(label) (label) + #endif #endif #ifdef __cplusplus