mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Merge pull request #5127 from rizlik/wolfss_msg_fix
wolfcrypt: logging: use do{}while(0) to disable WOLFSSL_MSG* macro
This commit is contained in:
@@ -177,9 +177,9 @@ WOLFSSL_API void wolfSSL_Debugging_OFF(void);
|
|||||||
#define WOLFSSL_STUB(m)
|
#define WOLFSSL_STUB(m)
|
||||||
#define WOLFSSL_IS_DEBUG_ON() 0
|
#define WOLFSSL_IS_DEBUG_ON() 0
|
||||||
|
|
||||||
#define WOLFSSL_MSG_EX(m, ...)
|
#define WOLFSSL_MSG_EX(m, ...) do{} while(0)
|
||||||
#define WOLFSSL_MSG(m)
|
#define WOLFSSL_MSG(m) do{} while(0)
|
||||||
#define WOLFSSL_BUFFER(b, l)
|
#define WOLFSSL_BUFFER(b, l) do{} while(0)
|
||||||
|
|
||||||
#endif /* DEBUG_WOLFSSL && !WOLFSSL_DEBUG_ERRORS_ONLY */
|
#endif /* DEBUG_WOLFSSL && !WOLFSSL_DEBUG_ERRORS_ONLY */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user