]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix intermittent sslapitest early data related failures
authorMatt Caswell <matt@openssl.org>
Mon, 25 Mar 2024 12:32:17 +0000 (12:32 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 7 May 2024 10:01:33 +0000 (12:01 +0200)
commit87e08b7526c8af86675aa34f783501d09911c16b
tree4eb6f415ff0ed94e2949fdc727aac596017a7f08
parent56a9d4108635df1f65b4cd8895ba339f0cbb2118
Fix intermittent sslapitest early data related failures

Early data is time sensitive. We have an approx 8 second allowance between
writing the early data and reading it. If we exceed that time tests will
fail. This can sometimes (rarely) occur in normal CI operation. We can try
and detect this and just ignore the result of such test failures if the test
has taken too long. We assume anything over 7 seconds is too long.

This is a partial fix for #22605

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

(cherry picked from commit ee2b7d5264d9e5498393744e9355dc8b735ab237)
test/sslapitest.c