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:18:09 +0000 (11:18 +0100)
commit5cbfe2c797efa7957757feb080dc2537c573e1ec
tree7ecf12641c3acd9eb17061b10825b82804293573
parent7a49488cb3a18a80a3ff06390aa418f6fb1b4230
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)

(cherry picked from commit 387b93e14907cd8203d6f2c9d78e49df01cb6e1f)
test/evp_extra_test.c
test/evp_pkey_provided_test.c
test/keymgmt_internal_test.c