[Python-Dev] r87849 - python/branches/py3k/Lib/test/test_ssl.py (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sat Jan 8 11:03:11 CET 2011


On Sat, 8 Jan 2011 04:16:05 +0100 (CET) victor.stinner <python-checkins at python.org> wrote:

Author: victor.stinner Date: Sat Jan 8 04:16:05 2011 New Revision: 87849

Log: testssl: test SHA256 using sha256.tbs-internet.com instead of sha2.hboeck.de Modified: python/branches/py3k/Lib/test/testssl.py Modified: python/branches/py3k/Lib/test/testssl.py ============================================================================== --- python/branches/py3k/Lib/test/testssl.py (original) +++ python/branches/py3k/Lib/test/testssl.py Sat Jan 8 04:16:05 2011 @@ -599,8 +599,8 @@ # SHA256 was added in OpenSSL 0.9.8 if ssl.OPENSSLVERSIONINFO < (0, 9, 8, 0, 15): self.skipTest("SHA256 not available on %r" % ssl.OPENSSLVERSION) - # 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) sha256cert = os.path.join(os.path.dirname(file), "sha256.pem") with support.transientinternet("sha2.hboeck.de"):

You obviously need to update the certificate file and also the host name above.



More information about the Python-Dev mailing list