From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 22 Jul 2023 14:30:09 +0000 (-0700) Subject: [3.10] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) (#107039) X-Git-Tag: v3.10.13~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9e5e59b7d912b4a90c550fad6a2d208bf8a1ed9;p=thirdparty%2FPython%2Fcpython.git [3.10] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) (#107039) Co-authored-by: Jocelyn Castellano --- diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 36c852974da9..2eefefc32eb0 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -2690,7 +2690,7 @@ disabled by default. >>> client_context.maximum_version = ssl.TLSVersion.TLSv1_3 -The SSL context created above will only allow TLSv1.2 and later (if +The SSL context created above will only allow TLSv1.3 and later (if supported by your system) connections to a server. :const:`PROTOCOL_TLS_CLIENT` implies certificate validation and hostname checks by default. You have to load certificates into the context.