diff options
author | Christian Heimes <christian@python.org> | 2021-06-13 11:46:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-13 11:46:07 (GMT) |
commit | bf527277d4e4907e32d76ca7ba667ab3149fe258 (patch) | |
tree | 3fcc40b9b02cea3c1c0c0690b37b13218cc8eab7 /Modules | |
parent | 59242431991794064824cf2ab70886367613f29e (diff) | |
download | cpython-bf527277d4e4907e32d76ca7ba667ab3149fe258.zip cpython-bf527277d4e4907e32d76ca7ba667ab3149fe258.tar.gz cpython-bf527277d4e4907e32d76ca7ba667ab3149fe258.tar.bz2 |
bpo-44389: Fix deprecation of OP_NO_TLSv1_3 (GH-26700)
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 1080fa6..26f31f8 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -3587,7 +3587,7 @@ set_options(PySSLContext *self, PyObject *arg, void *c) long new_opts, opts, set, clear; long opt_no = ( SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 | - SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2 + SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2 | SSL_OP_NO_TLSv1_3 ); if (!PyArg_Parse(arg, "l", &new_opts)) |