Skip to content

Commit cb7230c

Browse files
author
Erlend Egeberg Aasland
authored
bpo-44389: Remove duplicate SSL_OP_NO_TLSv1_2 flag (GH-26680)
1 parent a342cc5 commit cb7230c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,7 @@ set_options(PySSLContext *self, PyObject *arg, void *c)
35873587
long new_opts, opts, set, clear;
35883588
long opt_no = (
35893589
SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 |
3590-
SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2 | SSL_OP_NO_TLSv1_2
3590+
SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2
35913591
);
35923592

35933593
if (!PyArg_Parse(arg, "l", &new_opts))

0 commit comments

Comments
 (0)