diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2017-03-26 23:29:41 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-06-20 19:49:43 +0200 |
commit | 26dc47f3c44c7fb4488d1becaf997737486f4922 (patch) | |
tree | 529900a2d873d57cf940a12fb9ed011a7f847a4f /e_os.h | |
parent | Modify Sun copyright to follow OpenSSL style (diff) | |
download | openssl-26dc47f3c44c7fb4488d1becaf997737486f4922.tar.xz openssl-26dc47f3c44c7fb4488d1becaf997737486f4922.zip |
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)
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |