◐ Shell
clean mode source ↗

bpo-38275: Skip ssl tests for disabled versions by tiran · Pull Request #16386 · 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>
Some platforms / vendors override OpenSSL's defaults with a more strict
crypto policy. Make tests accept more minimum versions.

Signed-off-by: Christian Heimes <christian@python.org>

vstinner

tiran added a commit to tiran/cpython that referenced this pull request

Sep 26, 2019
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>

tiran added a commit to tiran/cpython that referenced this pull request

Sep 26, 2019
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>

tiran added a commit to tiran/cpython that referenced this pull request

Sep 26, 2019
Check presence of SSLContext.minimum_version to make tests pass with
old versions of OpenSSL.

Signed-off-by: Christian Heimes <christian@python.org>

tiran added a commit that referenced this pull request

Sep 26, 2019
Check presence of SSLContext.minimum_version to make tests pass with
old versions of OpenSSL.

Signed-off-by: Christian Heimes <christian@python.org>

tiran added a commit to tiran/cpython that referenced this pull request

Sep 26, 2019
Check presence of SSLContext.minimum_version to make tests pass with
old versions of OpenSSL.

Signed-off-by: Christian Heimes <christian@python.org>

tiran added a commit to tiran/cpython that referenced this pull request

Sep 26, 2019
Check presence of SSLContext.minimum_version to make tests pass with
old versions of OpenSSL.

Signed-off-by: Christian Heimes <christian@python.org>

tiran added a commit that referenced this pull request

Sep 26, 2019
…16425)

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)

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

Dec 5, 2019
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

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

Dec 5, 2019
Check presence of SSLContext.minimum_version to make tests pass with
old versions of OpenSSL.

Signed-off-by: Christian Heimes <christian@python.org>