]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36037: Fix test_ssl for strict OpenSSL policy (GH-11940)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 19 Feb 2019 17:24:16 +0000 (09:24 -0800)
committerGitHub <noreply@github.com>
Tue, 19 Feb 2019 17:24:16 +0000 (09:24 -0800)
commite8bf04de4ba045029aa8964126d8cdd2d7c282a6
treedb1d28f8a7e88edc2f20c07c9a28a9f119724306
parent64ca72822338e0ba6e4f14d0a1cd3a9dcfa6c9ac
bpo-36037: Fix test_ssl for strict OpenSSL policy (GH-11940)

Fix test_ssl for strict OpenSSL configuration like RHEL8 strict crypto policy.
Use older TLS version for minimum TLS version of the server SSL context if
needed, to test TLS version older than default minimum TLS version.
(cherry picked from commit 3ef6344ee53f59ee86831ec36ed2c6f93a56229d)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_ssl.py
Misc/NEWS.d/next/Tests/2019-02-19-15-21-14.bpo-36037.75wG9_.rst [new file with mode: 0644]