]> 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:37:57 +0000 (02:37 -0700)
committerGitHub <noreply@github.com>
Thu, 19 May 2022 09:37:57 +0000 (02:37 -0700)
(cherry picked from commit 41638967a0e0bf1114c9bba9454d081605b49009)

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

index 54bd335282699cb3d594f11ffe815919d4644f5a..c7ca4395ed96c93c38da96c5ea6fb53d60e3636f 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::