[New-bugs-announce] [issue34834] test_ssl.test_options does not correctly account for built-in ctx defaults with openssl 1.1.1

Dimitri John Ledkov report at bugs.python.org
Fri Sep 28 12:14:56 EDT 2018


New submission from Dimitri John Ledkov <dimitri.j.ledkov at intel.com>:

self.assertEqual(default, ctx.options) in test_options fails with openssl 1.1.1 as it does not correctly account for OP_ENABLE_MIDDLEBOX_COMPAT. It is not defined by the python2.7 ssl module either.

either ssl.OP_ENABLE_MIDDLEBOX_COMPAT needs to be backported, or the test case should just add that constant in when openssl version is >= 1.1.1

----------
messages: 326642
nosy: xnox
priority: normal
severity: normal
status: open
title: test_ssl.test_options does not correctly account for built-in ctx defaults with openssl 1.1.1
versions: Python 2.7

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


More information about the New-bugs-announce mailing list