8000 bpo-44389: Remove duplicate SSL_OP_NO_TLSv1_2 flag (GH-26680) · python/cpython@cb7230c · GitHub
[go: up one dir, main page]

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
< 3CE2 td data-grid-cell-id="diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621-3593-3593-0" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">3593
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

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

0 commit comments

Comments
 (0)
0