mirror of
https://github.com/python/cpython.git
synced 2025-10-02 13:22:19 +00:00
[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:
parent
c65ca7097a
commit
755166e864
1 changed files with 1 additions and 1 deletions
|
@ -2688,7 +2688,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…
Add table
Add a link
Reference in a new issue