mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
gevent: fix ssl patch
This commit is contained in:
parent
a94c0d2b0f
commit
5cd76cd85e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user