Skip to content

Commit

Permalink
fixup! Add a test for session cache overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcaswell committed Apr 5, 2024
1 parent 4e8e9c4 commit a0fcd04
Showing 1 changed file with 1 addition and 1 deletion.
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))) {
sess = NULL;
goto end;
}
Expand Down

0 comments on commit a0fcd04

Please sign in to comment.