mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Use PROTOCOL_SSLv23 in the test HTTPS server, in an attempt to appease the old Gentoo buildbot
This commit is contained in:
parent
84fa4314ba
commit
48e00f3ab6
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class HTTPSServerThread(threading.Thread):
|
|||
|
||||
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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue