[3.7] bpo-36037: Fix test_ssl for strict OpenSSL policy (GH-11940) by miss-islington · Pull Request #11942 · python/cpython

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 3ef6344)

Co-authored-by: Victor Stinner vstinner@redhat.com

https://bugs.python.org/issue36037