◐ Shell
clean mode source ↗

[3.8] gh-108310: Fix TestPreHandshakeClose tests in test_ssl by frenzymadness · Pull Request #110718 · python/cpython

The new class is part of the fix for CVE-2023-40217: b4bcc06 but it's not in the lists of tests so they're not
executed. The new tests also need SHORT_TIMEOUT
constant not available in test.support in 3.8.

I'm using the original issue here as this change fixes the original testsuite for the CVE in TLS.

An alternative for having the constant in test_ssl is to backport this commit from 3.9: 24c6258 But it touches a lot of files and I think that might be too much for 3.8.

Cc the authors of the original fix: @ambv and @gpshead