aboutsummaryrefslogtreecommitdiffstats
path: root/test/ectest.c
diff options
context:
space:
mode:
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]);
}
}