mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
fix bugprone-macro-parentheses in WOLFSSL_CRYPTO_EX_DATA_IGNORE_PARAMS() added in 8b2fcd0643
.
This commit is contained in:
@ -1266,13 +1266,13 @@ typedef void (CallbackInfoState)(const WOLFSSL* ssl, int, int);
|
||||
#ifdef HAVE_EX_DATA
|
||||
/* Helper macro to log that input arguments should not be used */
|
||||
#define WOLFSSL_CRYPTO_EX_DATA_IGNORE_PARAMS(a1, a2, a3, a4, a5) \
|
||||
(void)a1; \
|
||||
(void)a2; \
|
||||
(void)a3; \
|
||||
(void)a4; \
|
||||
(void)a5; \
|
||||
(void)(a1); \
|
||||
(void)(a2); \
|
||||
(void)(a3); \
|
||||
(void)(a4); \
|
||||
(void)(a5); \
|
||||
do { \
|
||||
if (a3 != NULL || a4 != NULL || a5 != NULL) { \
|
||||
if ((a3) != NULL || (a4) != NULL || (a5) != NULL) { \
|
||||
WOLFSSL_MSG("get_ex_new_index API does not support " \
|
||||
"new, dup, or free callbacks"); \
|
||||
} \
|
||||
|
Reference in New Issue
Block a user