Add a test for session cache overflow
authorMatt Caswell <matt@openssl.org>
Fri, 15 Jul 2022 12:26:33 +0000 (13:26 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 8 Apr 2024 10:06:25 +0000 (12:06 +0200)
commit4a3e8f08306c64366318e26162ae0a0eb7b1a006
treed0b8df8c6b3b60ce3b01c4f0eafc6d0bed05aa8b
parent21df7f04f6c4a560b4de56d10e1e58958c7e566d
Add a test for session cache overflow

Test sessions behave as we expect even in the case that an overflow
occurs when adding a new session into the session cache.

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