]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] gh-108310: Fix TestPreHandshakeClose tests in test_ssl (#110718)
authorLumír 'Frenzy' Balhar <lbalhar@redhat.com>
Wed, 17 Jan 2024 13:43:00 +0000 (14:43 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Jan 2024 13:43:00 +0000 (14:43 +0100)
commit0df2eb5b267fb56d93faf561024548a8816a0269
tree8cdf5cab3c685e2e0a18bf3dba57e93a35887302
parent01845a15d627d1f2c7eed9b245e462ffadd01701
[3.8] gh-108310: Fix TestPreHandshakeClose tests in test_ssl (#110718)

The new class is part of the fix for CVE-2023-40217:
https://github.com/python/cpython/commit/b4bcc06a9cfe13d96d5270809d963f8ba278f89b
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.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Lib/test/test_ssl.py
Misc/NEWS.d/next/Tests/2023-10-11-16-02-55.gh-issue-108310.URRe8Y.rst [new file with mode: 0644]