diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-08 03:16:05 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-08 03:16:05 (GMT) |
commit | f332abbf1549b2db55960caf951f124475c93ed8 (patch) | |
tree | 3c25908d52c8e88b69f3adea6a1e6b5fbd675773 /Lib/test/test_ssl.py | |
parent | 301f1217ac18e612c71e18f8fbebbdf31727eb47 (diff) | |
download | cpython-f332abbf1549b2db55960caf951f124475c93ed8.zip cpython-f332abbf1549b2db55960caf951f124475c93ed8.tar.gz cpython-f332abbf1549b2db55960caf951f124475c93ed8.tar.bz2 |
test_ssl: test SHA256 using sha256.tbs-internet.com instead of sha2.hboeck.de
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index e5a07a3..8f4f07e 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -599,8 +599,8 @@ class NetworkedTests(unittest.TestCase): # SHA256 was added in OpenSSL 0.9.8 if ssl.OPENSSL_VERSION_INFO < (0, 9, 8, 0, 15): self.skipTest("SHA256 not available on %r" % ssl.OPENSSL_VERSION) - # NOTE: https://sha256.tbs-internet.com is another possible test host - remote = ("sha2.hboeck.de", 443) + # https://sha2.hboeck.de/ was used until 2011-01-08 (no route to host) + remote = ("sha256.tbs-internet.com", 443) sha256_cert = os.path.join(os.path.dirname(__file__), "sha256.pem") with support.transient_internet("sha2.hboeck.de"): s = ssl.wrap_socket(socket.socket(socket.AF_INET), |