summaryrefslogtreecommitdiff
path: root/doc/api/ssl.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/ssl.rst')
-rw-r--r--doc/api/ssl.rst24
1 files changed, 15 insertions, 9 deletions
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst
index e788cf1..01c9e03 100644
--- a/doc/api/ssl.rst
+++ b/doc/api/ssl.rst
@@ -98,14 +98,20 @@ Context, Connection.
:py:const:`OP_NO_*` constant may be undefined.
-.. py:data:: SSLEAY_VERSION
- SSLEAY_CFLAGS
- SSLEAY_BUILT_ON
- SSLEAY_PLATFORM
- SSLEAY_DIR
-
- Constants used with :py:meth:`SSLeay_version` to specify what OpenSSL version
- information to retrieve. See the man page for the :py:func:`SSLeay_version` C
+.. py:data:: OPENSSL_VERSION
+ OPENSSL_CFLAGS
+ OPENSSL_BUILT_ON
+ OPENSSL_PLATFORM
+ OPENSSL_DIR
+
+ .. versionchanged:: 22.1.0
+
+ Previously these were all named ``SSLEAY_*``. Those names are still
+ available for backwards compatibility, but the ``OPENSSL_*`` names are
+ preferred.
+
+ Constants used with :py:meth:`OpenSSL_version` to specify what OpenSSL version
+ information to retrieve. See the man page for the :py:func:`OpenSSL_version` C
API for details.
@@ -141,7 +147,7 @@ Context, Connection.
.. versionadded:: 19.1
-.. autofunction:: SSLeay_version
+.. autofunction:: OpenSSL_version
.. py:data:: ContextType