[3.7] bpo-38275: Skip ssl tests for disabled versions (GH-16427) by tiran · Pull Request #16427 · python/cpython
test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time settings are recognized and tests for disabled versions are skipped. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38275. (cherry picked from commit df6ac7e) Co-authored-by: Christian Heimes <christian@python.org>
Check presence of SSLContext.minimum_version to make tests pass with old versions of OpenSSL. Signed-off-by: Christian Heimes <christian@python.org>
tiran
changed the title
[3.7] bpo-38275: Skip ssl tests for disabled versions (GH-16386)
[3.7] bpo-38275: Skip ssl tests for disabled versions (GH-16427)
tiran
deleted the
backport-df6ac7e-3.7
branch
hroncok pushed a commit to hroncok/cpython that referenced this pull request
test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time settings are recognized and tests for disabled versions are skipped. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38275 (cherry picked from commit df6ac7e)
tiran
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters