]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: amend ssl.PROTOCOL_SSLv2 and ssl.PROTOCOL_SSLv3 wording (GH-92634)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 May 2022 09:40:39 +0000 (02:40 -0700)
committerGitHub <noreply@github.com>
Thu, 19 May 2022 09:40:39 +0000 (02:40 -0700)
(cherry picked from commit 41638967a0e0bf1114c9bba9454d081605b49009)

Co-authored-by: Jan Brasna <1784648+janbrasna@users.noreply.github.com>
Doc/library/ssl.rst

index 19d983bcfe28df1625f1bf7ac9f3a5e6167884f3..afb3e356db89ae1fe9d4528ca8d9f4a77d6c9c7d 100644 (file)
@@ -714,7 +714,7 @@ Constants
    Selects SSL version 2 as the channel encryption protocol.
 
    This protocol is not available if OpenSSL is compiled with the
-   ``OPENSSL_NO_SSL2`` flag.
+   ``no-ssl2`` option.
 
    .. warning::
 
@@ -728,8 +728,8 @@ Constants
 
    Selects SSL version 3 as the channel encryption protocol.
 
-   This protocol is not be available if OpenSSL is compiled with the
-   ``OPENSSL_NO_SSLv3`` flag.
+   This protocol is not available if OpenSSL is compiled with the
+   ``no-ssl3`` option.
 
    .. warning::