summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2016-03-11 11:21:13 +0100
committerHynek Schlawack <hs@ox.cx>2016-03-11 11:24:17 +0100
commitf90e368cdd11654b7e68fbde98c561177b333671 (patch)
treeeda22e540a56f1827e94306ad7f9c81e599a04c6 /doc
parentc488deaa02eed0df890204721018e4e5b2493ac0 (diff)
downloadpyopenssl-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.rst14
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.