Fix testcases to run on duplicated keys
authorTomas Mraz <tomas@openssl.org>
Fri, 12 Jan 2024 17:47:56 +0000 (18:47 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 7 Feb 2024 10:15:50 +0000 (11:15 +0100)
commit387b93e14907cd8203d6f2c9d78e49df01cb6e1f
treef59c8aaf6e3056692cae2af47696d8cdfcce9ce8
parentea15508b4ffa77d440e3f2c817998271bfeb3b9c
Fix testcases to run on duplicated keys

The existing loop pattern did not really run the expected
tests on the duplicated keys.

Fixes #23129

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23292)
test/evp_extra_test.c
test/evp_pkey_provided_test.c
test/keymgmt_internal_test.c