Extend the multi_resume test for simultaneous resumptions
authorMatt Caswell <matt@openssl.org>
Tue, 5 Mar 2024 15:35:51 +0000 (15:35 +0000)
committerTomas Mraz <tomas@openssl.org>
Mon, 8 Apr 2024 10:06:25 +0000 (12:06 +0200)
commitcfeaf33a26c53c526128df96db2d2ec105b43aec
treeb189deb0fabf825f4acffbd9ce0bcc42c74df5c4
parent0447cd690f86ce52ff760d55d6064ea0d08656bf
Extend the multi_resume test for simultaneous resumptions

Test what happens if the same session gets resumed multiple times at the
same time - and one of them gets marked as not_resumable.

Related to CVE-2024-2511

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24042)
test/sslapitest.c