[3.11] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) (#107038)

Co-authored-by: Jocelyn Castellano <admin@malwarefight.gq>
This commit is contained in:
Miss Islington (bot) 2023-07-22 07:29:54 -07:00 committed by GitHub
parent c65ca7097a
commit 755166e864
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2688,7 +2688,7 @@ disabled by default.
>>> client_context.maximum_version = ssl.TLSVersion.TLSv1_3 >>> 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` supported by your system) connections to a server. :const:`PROTOCOL_TLS_CLIENT`
implies certificate validation and hostname checks by default. You have to implies certificate validation and hostname checks by default. You have to
load certificates into the context. load certificates into the context.