mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 08:40:50 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user