Skip to content

Commit 1ce95ab

Browse files
committed
wolfssl/wolfcrypt/error-crypt.h: add do-nothing WC_ERR_TRACE() fallthrough definition to make WC_ERR_TRACE() safe to use ungated in code.
1 parent b02ddde commit 1ce95ab

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

wolfssl/wolfcrypt/error-crypt.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,9 @@ WOLFSSL_ABI WOLFSSL_API const char* wc_GetErrorString(int error);
365365
#include <wolfssl/debug-trace-error-codes.h>
366366
#else
367367
#define WC_NO_ERR_TRACE(label) (label)
368+
#ifndef WC_ERR_TRACE
369+
#define WC_ERR_TRACE(label) (label)
370+
#endif
368371
#endif
369372

370373
#ifdef __cplusplus

0 commit comments

Comments
 (0)