Skip to content

Commit 29783dd

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 b2f1c58 commit 29783dd

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
@@ -380,6 +380,9 @@ WOLFSSL_ABI WOLFSSL_API const char* wc_GetErrorString(int error);
380380
#include <wolfssl/debug-trace-error-codes.h>
381381
#else
382382
#define WC_NO_ERR_TRACE(label) (label)
383+
#ifndef WC_ERR_TRACE
384+
#define WC_ERR_TRACE(label) (label)
385+
#endif
383386
#endif
384387

385388
#ifdef __cplusplus

0 commit comments

Comments
 (0)