Add parentheses around macro argument of OSSL_NELEM.
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3039)
This commit is contained in:
parent
aa8f3d76fc
commit
26dc47f3c4
1 changed files with 1 additions and 1 deletions
2
e_os.h
2
e_os.h
|
@ -539,7 +539,7 @@ struct servent *getservbyname(const char *name, const char *proto);
|
|||
# endif
|
||||
/* end vxworks */
|
||||
|
||||
#define OSSL_NELEM(x) (sizeof(x)/sizeof(x[0]))
|
||||
#define OSSL_NELEM(x) (sizeof(x)/sizeof((x)[0]))
|
||||
|
||||
#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
|
||||
# define CRYPTO_memcmp memcmp
|
||||
|
|
Loading…
Reference in a new issue