[New-bugs-announce] [issue44389] Modules/_ssl.c, repeated 'SSL_OP_NO_TLSv1_2'

Brother Beer report at bugs.python.org
Fri Jun 11 04:23:58 EDT 2021


New submission from Brother Beer <brotherbeer at 163.com>:

cpython-3.10.0b2/Modules/_ssl.c  line 3576

3570 static int
3571 set_options(PySSLContext *self, PyObject *arg, void *c)
3572 {
3573     long new_opts, opts, set, clear;
3574     long opt_no = (
3575         SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 |
3576         SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2 | SSL_OP_NO_TLSv1_2
3577     );

'SSL_OP_NO_TLSv1_2' is repeated, are any other items missing?

----------
files: _ssl_c_line_3576.png
messages: 395612
nosy: brotherbeer
priority: normal
severity: normal
status: open
title: Modules/_ssl.c, repeated 'SSL_OP_NO_TLSv1_2'
type: behavior
versions: Python 3.10
Added file: https://bugs.python.org/file50103/_ssl_c_line_3576.png

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44389>
_______________________________________


More information about the New-bugs-announce mailing list