1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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: