gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (#105404)

This commit is contained in:
Jocelyn Castellano 2023-07-22 10:29:08 -04:00 committed by GitHub
parent ae8b114c5b
commit e5252c6127
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2592,7 +2592,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.