diff options
author | Hynek Schlawack <hs@ox.cx> | 2016-03-11 11:21:13 +0100 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2016-03-11 11:24:17 +0100 |
commit | f90e368cdd11654b7e68fbde98c561177b333671 (patch) | |
tree | eda22e540a56f1827e94306ad7f9c81e599a04c6 /doc | |
parent | c488deaa02eed0df890204721018e4e5b2493ac0 (diff) | |
download | pyopenssl-git-f90e368cdd11654b7e68fbde98c561177b333671.tar.gz |
Fix set_cipher_list on modern OpenSSL
Also port forward a few changes from #422.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/ssl.rst | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst index ad4fd05..e3fe8c9 100644 --- a/doc/api/ssl.rst +++ b/doc/api/ssl.rst @@ -333,11 +333,7 @@ Context objects have the following methods: later using the :py:meth:`get_app_data` method. -.. py:method:: Context.set_cipher_list(ciphers) - - Set the list of ciphers to be used in this context. See the OpenSSL manual for - more information (e.g. :manpage:`ciphers(1)`) - +.. automethod:: Context.set_cipher_list .. py:method:: Context.set_info_callback(callback) @@ -592,11 +588,7 @@ Connection objects have the following methods: Retrieve application data as set by :py:meth:`set_app_data`. -.. py:method:: Connection.get_cipher_list() - - Retrieve the list of ciphers used by the Connection object. WARNING: This API - has changed. It used to take an optional parameter and just return a string, - but now it returns the entire list in one go. +.. automethod:: Connection.get_cipher_list .. py:method:: Connection.get_protocol_version() @@ -610,7 +602,7 @@ Connection objects have the following methods: Retrieve the version of the SSL or TLS protocol used by the Connection as a unicode string. For example, it will return ``TLSv1`` for connections - made over TLS version 1, or ``Unknown`` for connections that were not + made over TLS version 1, or ``Unknown`` for connections that were not successfully established. |