mirror of
https://github.com/python/cpython.git
synced 2025-12-08 02:08:20 +00:00
bpo-44389: Remove duplicate SSL_OP_NO_TLSv1_2 flag (GH-26680)
This commit is contained in:
parent
a342cc5891
commit
cb7230c7a7
1 changed files with 1 additions and 1 deletions
|
|
@ -3587,7 +3587,7 @@ set_options(PySSLContext *self, PyObject *arg, void *c)
|
||||||
long new_opts, opts, set, clear;
|
long new_opts, opts, set, clear;
|
||||||
long opt_no = (
|
long opt_no = (
|
||||||
SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 |
|
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_2
|
SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!PyArg_Parse(arg, "l", &new_opts))
|
if (!PyArg_Parse(arg, "l", &new_opts))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue