◐ Shell
clean mode source ↗

[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 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)

Sep 26, 2019

@tiran tiran deleted the backport-df6ac7e-3.7 branch

September 26, 2019 20:54

hroncok pushed a commit to hroncok/cpython that referenced this pull request

Aug 14, 2020
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 tiran mentioned this pull request

May 9, 2022