[Python-checkins] r87849 - python/branches/py3k/Lib/test/test_ssl.py
victor.stinner
python-checkins at python.org
Sat Jan 8 04:16:05 CET 2011
Author: victor.stinner
Date: Sat Jan 8 04:16:05 2011
New Revision: 87849
Log:
test_ssl: test SHA256 using sha256.tbs-internet.com instead of sha2.hboeck.de
Modified:
python/branches/py3k/Lib/test/test_ssl.py
Modified: python/branches/py3k/Lib/test/test_ssl.py
==============================================================================
--- python/branches/py3k/Lib/test/test_ssl.py (original)
+++ python/branches/py3k/Lib/test/test_ssl.py Sat Jan 8 04:16:05 2011
@@ -599,8 +599,8 @@
# 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),
More information about the Python-checkins
mailing list