Fix the constant time 64 test
We were adding more tests than we had data for due to use of sizeof instead of OSSL_NELEM. I also changed the 8 bit tests for consistency, although they were already working. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3755)
This commit is contained in:
parent
019e47ce56
commit
e3908501ca
1 changed files with 2 additions and 2 deletions
|
@ -332,6 +332,6 @@ void register_tests(void)
|
|||
ADD_TEST(test_sizeofs);
|
||||
ADD_ALL_TESTS(test_binops, OSSL_NELEM(test_values));
|
||||
ADD_ALL_TESTS(test_signed, OSSL_NELEM(signed_test_values));
|
||||
ADD_ALL_TESTS(test_8values, sizeof(test_values_8));
|
||||
ADD_ALL_TESTS(test_64values, sizeof(test_values_64));
|
||||
ADD_ALL_TESTS(test_8values, OSSL_NELEM(test_values_8));
|
||||
ADD_ALL_TESTS(test_64values, OSSL_NELEM(test_values_64));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue