summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-06-13 12:07:00 (GMT)
committerGitHub <noreply@github.com>2021-06-13 12:07:00 (GMT)
commit4becc569a606102bce624a4e28f4068317d09f42 (patch)
tree4262ecc64e1f4818bff23726649a9e758c6820fa /Modules
parentf30f484e9660c6ad5d5a554869593d14d709a7f4 (diff)
downloadcpython-4becc569a606102bce624a4e28f4068317d09f42.zip
cpython-4becc569a606102bce624a4e28f4068317d09f42.tar.gz
cpython-4becc569a606102bce624a4e28f4068317d09f42.tar.bz2
[3.10] bpo-44389: Fix deprecation of OP_NO_TLSv1_3 (GH-26700) (GH-26705)
Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit bf527277d4e4907e32d76ca7ba667ab3149fe258) Co-authored-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ssl.c2
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))