◐ Shell
clean mode source ↗

[3.8] bpo-38275: Skip ssl tests for disabled versions (GH-16386) by tiran · Pull Request #16425 · 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 deleted the backport-df6ac7e-3.8 branch

September 26, 2019 20:53

@tiran tiran mentioned this pull request

May 9, 2022