gevent: fix ssl patch

This commit is contained in:
Domen Kožar 2015-01-20 22:40:51 +01:00
parent a94c0d2b0f
commit 5cd76cd85e

View File

@ -15,7 +15,7 @@ Index: b/gevent/ssl.py
- keyfile, certfile,
- cert_reqs, ssl_version, ca_certs,
- ciphers)
+ ctx = SSLContext(ssl_version)
+ ctx = __ssl__.SSLContext(ssl_version)
+ if keyfile or certfile:
+ ctx.load_cert_chain(certfile, keyfile)
+ if ca_certs: