Kaydet (Commit) e3f1d7d0 authored tarafından Bill Janssen's avatar Bill Janssen

Make sure test_ssl doesn't reference the ssl module in a

context where it can't be imported.
üst 119c7a62
......@@ -340,7 +340,10 @@ else:
def tryProtocolCombo (server_protocol,
client_protocol,
expectedToWork,
certsreqs=ssl.CERT_NONE):
certsreqs=None):
if certsreqs == None:
certsreqs = ssl.CERT_NONE
if certsreqs == ssl.CERT_NONE:
certtype = "CERT_NONE"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment