We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4caf5c2 commit 1b97375Copy full SHA for 1b97375
1 file changed
Doc/library/ssl.rst
@@ -2686,8 +2686,8 @@ disabled by default.
2686
::
2687
2688
>>> client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2689
- >>> client_context.minimum_version = ssl.TLSVersion.TLSv1_3
2690
- >>> client_context.maximum_version = ssl.TLSVersion.TLSv1_3
+ >>> client_context.minimum_version = ssl.TLSVersion.TLSv1_2
+ >>> client_context.maximum_version = ssl.TLSVersion.MAXIMUM_VERSION
2691
2692
2693
The SSL context created above will only allow TLSv1.2 and later (if
0 commit comments