[Python-checkins] r85415 - python/branches/py3k/Lib/test/ssl_servers.py
antoine.pitrou
python-checkins at python.org
Wed Oct 13 14:06:43 CEST 2010
Author: antoine.pitrou
Date: Wed Oct 13 14:06:43 2010
New Revision: 85415
Log:
Use PROTOCOL_SSLv23 in the test HTTPS server, in an attempt to appease the old Gentoo buildbot
Modified:
python/branches/py3k/Lib/test/ssl_servers.py
Modified: python/branches/py3k/Lib/test/ssl_servers.py
==============================================================================
--- python/branches/py3k/Lib/test/ssl_servers.py (original)
+++ python/branches/py3k/Lib/test/ssl_servers.py Wed Oct 13 14:06:43 2010
@@ -141,7 +141,7 @@
def make_https_server(case, certfile=CERTFILE, host=HOST, handler_class=None):
# we assume the certfile contains both private key and certificate
- context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
+ context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
context.load_cert_chain(certfile)
server = HTTPSServerThread(context, host, handler_class)
flag = threading.Event()
More information about the Python-checkins
mailing list