[issue43640] Add warnings to ssl.PROTOCOL_TLSv1 and ssl.PROTOCOL_TLSv1_1 docs

2021-03-27 Thread Illia Volochii
Change by Illia Volochii : -- keywords: +patch pull_requests: +23788 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25040 ___ Python tracker ___ _

[issue43640] Add warnings to ssl.PROTOCOL_TLSv1 and ssl.PROTOCOL_TLSv1_1 docs

2021-03-27 Thread Illia Volochii
New submission from Illia Volochii : TLS versions 1.0 and 1.1 have recently been deprecated. [1] ssl.PROTOCOL_SSLv2 and ssl.PROTOCOL_SSLv3 have such warnings "SSL version 2 is insecure. Its use is highly discouraged." [2] We have to add such warnings to ssl.PROTOCOL_TLSv1 and ssl.PROTOCOL_TLS