[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Tue Jun 20 17:50:24 UTC 2017
The branch master has been updated
via 26dc47f3c44c7fb4488d1becaf997737486f4922 (commit)
from aa8f3d76fcf1502586435631be16faa1bef3cdf7 (commit)
- Log -----------------------------------------------------------------
commit 26dc47f3c44c7fb4488d1becaf997737486f4922
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: Sun Mar 26 23:29:41 2017 +0200
Add parentheses around macro argument of OSSL_NELEM.
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3039)
-----------------------------------------------------------------------
Summary of changes:
e_os.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/e_os.h b/e_os.h
index 49a0c3e..d331044 100644
--- a/e_os.h
+++ b/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
More information about the openssl-commits
mailing list