Implement Context.set_session_id
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst
index d144cfd..0edf1ab 100644
--- a/doc/api/ssl.rst
+++ b/doc/api/ssl.rst
@@ -274,10 +274,7 @@
Retrieve the Context object's verify mode, as set by :py:meth:`set_verify`.
-.. py:method:: Context.load_client_ca(pemfile)
-
- Read a file with PEM-formatted certificates that will be sent to the client
- when requesting a client certificate.
+.. automethod:: Context.load_client_ca
.. py:method:: Context.set_client_ca_list(certificate_authorities)
@@ -387,12 +384,7 @@
.. versionadded:: 0.14
-.. py:method:: Context.set_session_id(name)
-
- Set the context *name* within which a session can be reused for this
- Context object. This is needed when doing session resumption, because there is
- no way for a stored session to know which Context object it is associated with.
- *name* may be any binary data.
+.. automethod:: Context.set_session_id
.. py:method:: Context.set_timeout(timeout)
@@ -684,11 +676,11 @@
bytes (for example, in response to a call to :py:meth:`recv`).
-.. py:method:: Connection.renegotiate()
+.. automethod:: Connection.renegotiate
- Renegotiate the SSL session. Call this if you wish to change cipher suites or
- anything like that.
+.. automethod:: Connection.renegotiate_pending
+.. automethod:: Connection.total_renegotiations
.. py:method:: Connection.send(string)