New submission from Dimitri John Ledkov <dimitri.j.led...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue34834>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to