wolfssl/wolfcrypt/error-crypt.h: add do-nothing WC_ERR_TRACE() fallthrough definition to make WC_ERR_TRACE() safe to use ungated in code.

This commit is contained in:
Daniel Pouzzner
2026-03-06 14:32:06 -06:00
parent b2f1c5864d
commit 29783dd2cf
+3
View File
@@ -380,6 +380,9 @@ WOLFSSL_ABI WOLFSSL_API const char* wc_GetErrorString(int error);
#include <wolfssl/debug-trace-error-codes.h>
#else
#define WC_NO_ERR_TRACE(label) (label)
#ifndef WC_ERR_TRACE
#define WC_ERR_TRACE(label) (label)
#endif
#endif
#ifdef __cplusplus