Mercurial > hg
changeset 41974:4748938ee0c7 stable
test-https: turn off system OpenSSL configuration
This mostly fixes the test failure on Debian sid where TLS 1.0 and 1.1 are
disabled by default.
https://sources.debian.org/patches/openssl/1.1.1a-1/Set-systemwide-default-settings-for-libssl-users.patch/
$OPENSSL_CONF could be set by run-tests.py, but the other tests should work
without a "legacy" TLS, so I decided to not.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 17 Mar 2019 12:37:57 +0900 |
parents | 25fc5b96d1c3 |
children | 406519302520 |
files | tests/test-https.t |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-https.t Sat Feb 23 21:13:27 2019 +0100 +++ b/tests/test-https.t Sun Mar 17 12:37:57 2019 +0900 @@ -2,6 +2,12 @@ Proper https client requires the built-in ssl from Python 2.6. +Disable the system configuration which may set stricter TLS requirements. +This test expects that legacy TLS versions are supported. + + $ OPENSSL_CONF= + $ export OPENSSL_CONF + Make server certificates: $ CERTSDIR="$TESTDIR/sslcerts"