diff -r f8c5225b9054 -r b1bc6e5f5249 tests/test-https.t --- a/tests/test-https.t Sun Mar 03 20:16:22 2019 +0530 +++ b/tests/test-https.t Tue Mar 19 16:36:59 2019 +0300 @@ -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" @@ -633,7 +639,7 @@ $ P="$CERTSDIR" hg id https://localhost:$HGPORT/ warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?) - abort: error: *handshake failure* (glob) + abort: error: .*(\$ECONNRESET\$|certificate required|handshake failure).* (re) [255] with client certificate: