Show More
@@ -35,7 +35,7 b' try:' | |||||
35 | # maintainers for us, but that breaks too many things to |
|
35 | # maintainers for us, but that breaks too many things to | |
36 | # do it in a hurry. |
|
36 | # do it in a hurry. | |
37 | sslcontext = ssl.SSLContext(ssl.PROTOCOL_SSLv23) |
|
37 | sslcontext = ssl.SSLContext(ssl.PROTOCOL_SSLv23) | |
38 |
sslcontext.options |
|
38 | sslcontext.options |= ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3 | |
39 | if certfile is not None: |
|
39 | if certfile is not None: | |
40 | def password(): |
|
40 | def password(): | |
41 | f = keyfile or certfile |
|
41 | f = keyfile or certfile |
General Comments 0
You need to be logged in to leave comments.
Login now