Reintroduce the OPENSSL_CONF=/non-existing-file workaround

Since crypto-policies-20191002-1.gitc93dc99.fc32, the maximum version of TLS
is customized in Fedora as well.

See https://bugzilla.redhat.com/show_bug.cgi?id=1778357
and https://bugs.python.org/issue38815

This reverts commit b33b4a5162e2b5873c5846dcba882f3569ab76cd.
This commit is contained in:
Miro Hrončok 2019-12-02 13:22:43 +01:00
parent 9885fc6e12
commit fc7d3985d4
1 changed files with 9 additions and 0 deletions

View File

@ -1027,6 +1027,15 @@ CheckPython() {
ConfName=$1
ConfDir=$(pwd)/build/$ConfName
# Fedora sets explicit minimum/maximum TLS versions.
# Python's test suite assumes that the minimum/maximum version is set to
# a magic marker. We workaround the test problem by setting:
export OPENSSL_CONF=/non-existing-file
# https://bugzilla.redhat.com/show_bug.cgi?id=1618753
# https://bugzilla.redhat.com/show_bug.cgi?id=1778357
# https://bugs.python.org/issue35045
# https://bugs.python.org/issue38815
echo STARTING: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
# Note that we're running the tests using the version of the code in the