]> git.ipfire.org Git - thirdparty/openssl.git/commit
Prefer ARRAY_SIZE(...)
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Wed, 13 Sep 2023 20:31:50 +0000 (22:31 +0200)
committerNeil Horman <nhorman@openssl.org>
Mon, 22 Jul 2024 10:55:35 +0000 (06:55 -0400)
commit001b92d68d61250c88b355773142af31675ca0ab
treec29405c4c6ed9800c4d16037b98fe1b72b7af994
parentf83707dc6df306e2ed07eafe518b19e8e3c427ca
Prefer ARRAY_SIZE(...)

In OpenSSL, it's actually OSSL_NELEM() in "internal/nelem.h".

Found by running the checkpatch.pl Linux script to enforce coding style.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22097)
crypto/bn/bn_mod.c
crypto/sha/keccak1600.c
crypto/store/store_strings.c
engines/e_afalg.c
test/asn1_encode_test.c
test/bioprinttest.c
test/sslapitest.c