mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
gevent: fix ssl patch
This commit is contained in:
parent
a94c0d2b0f
commit
5cd76cd85e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue