summaryrefslogtreecommitdiffstats
path: root/test/ectest.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-05-03 17:32:05 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-05-04 13:03:49 +0100
commitbdcb1a2cf553166edec0509f4bf3cd36fc964024 (patch)
tree74df1971edbcdcfc448128d33ace8583eb10ff8b /test/ectest.c
parent59ef580a14a526f6dd8d86b632d67022976fabcd (diff)
more OSSL_NELEM cases
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'test/ectest.c')
-rw-r--r--test/ectest.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ectest.c b/test/ectest.c
index 7320d3dfe4..4b15708020 100644
--- a/test/ectest.c
+++ b/test/ectest.c
@@ -1628,9 +1628,7 @@ static void nistp_tests()
{
unsigned i;
- for (i = 0;
- i < sizeof(nistp_tests_params) / sizeof(struct nistp_test_params);
- i++) {
+ for (i = 0; i < OSSL_NELEM(nistp_tests_params); i++) {
nistp_single_test(&nistp_tests_params[i]);
}
}