fix bugprone-macro-parentheses in WOLFSSL_CRYPTO_EX_DATA_IGNORE_PARAMS() added in 8b2fcd0643.

This commit is contained in:
Daniel Pouzzner
2022-08-22 16:32:58 -05:00
parent bd49d37aaf
commit 1063090e38

View File

@ -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"); \
} \