| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
The function has been removed. In the ssl documentation, replace references to the ssl.wrap_socket() function with references to the ssl.SSLContext.wrap_socket() method.
There was a problem hiding this comment.
Thanks for updating the doc!
Some arguments of ssl.wrap_socket are no longer present in SSLContext.wrap_socket.
Sorry, something went wrong.
|
@illia-v: I updated my PR, would you mind to review it? I removed references to non-existing parameters. I made it clear the wrap_socket() is now the only way to create SSL socket objects, as already stated in the SSLSocket documentation: https://docs.python.org/dev/library/ssl.html#ssl.SSLSocket
|
Sorry, something went wrong.
| case, only the ``certfile`` parameter to :meth:`SSLContext.load_cert_chain` | ||
| and :func:`wrap_socket` needs to be passed. If the private key is stored | ||
| and :meth:`SSLContext.wrap_socket` needs to be passed. If the private key is stored |
There was a problem hiding this comment.
SSLContext.wrap_socket has no certfile parameter
Sorry, something went wrong.
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
|
Thanks @illia-v, it was more complicated than expected. Not just a simple text replace before/after ;-) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The function has been removed. In the ssl documentation, replace references to the ssl.wrap_socket() function with references to the ssl.SSLContext.wrap_socket() method.