diff options
| author | Victor Stinner <vstinner@python.org> | 2022-07-08 13:20:15 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-08 13:20:15 (GMT) |
| commit | 00464bbed66e5f64bdad7f930b315a88d5afccae (patch) | |
| tree | 4f16892435484a613cbe000ab774a1a8a8ae2b42 /Modules/_testcapi/vectorcall.c | |
| parent | 23ee4a8067506e6c9c47748185653617413f7a60 (diff) | |
| download | cpython-00464bbed66e5f64bdad7f930b315a88d5afccae.zip cpython-00464bbed66e5f64bdad7f930b315a88d5afccae.tar.gz cpython-00464bbed66e5f64bdad7f930b315a88d5afccae.tar.bz2 | |
gh-94199: Remove the ssl.wrap_socket() function (#94203)
Remove the ssl.wrap_socket() function, deprecated in Python 3.7:
instead, create a ssl.SSLContext object and call its
sl.SSLContext.wrap_socket() method. Any package that still uses
ssl.wrap_socket() is broken and insecure. The function neither sends
a SNI TLS extension nor validates server hostname. Code is subject to
CWE-295 : Improper Certificate Validation.
Diffstat (limited to 'Modules/_testcapi/vectorcall.c')
0 files changed, 0 insertions, 0 deletions
