mirror of
https://github.com/python/cpython
synced 2024-09-05 00:05:39 +00:00
gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (#105404)
This commit is contained in:
parent
ae8b114c5b
commit
e5252c6127
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue