Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unconstrained session cache growth in TLSv1.3 (3.1/3.0) #24044

Closed
2 changes: 1 addition & 1 deletion test/sslapitest.c
Original file line number Diff line number Diff line change
Expand Up @@ -9015,7 +9015,7 @@ static int test_session_cache_overflow(int idx)
* Cause this session to have a longer timeout than the next session to
* be added.
*/
if (!TEST_true(SSL_SESSION_set_timeout(sess, LONG_MAX))) {
if (!TEST_true(SSL_SESSION_set_timeout(sess, LONG_MAX / 2))) {
tom-cosgrove-arm marked this conversation as resolved.
Show resolved Hide resolved
sess = NULL;
goto end;
}
Expand Down