Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
python-base
openssl-111-ssl_options.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-111-ssl_options.patch of Package python-base
--- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -807,12 +807,8 @@ class ContextTests(unittest.TestCase): default = (ssl.OP_ALL | ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3) # SSLContext also enables these by default default |= (OP_NO_COMPRESSION | OP_CIPHER_SERVER_PREFERENCE | - ssl.OP_SINGLE_DH_USE | ssl.OP_SINGLE_ECDH_USE) - if not IS_LIBRESSL and ssl.OPENSSL_VERSION_INFO >= (1, 1, 1): - # define MIDDLEBOX constant, as python2.7 does not know about it - # but it is used by default. - OP_ENABLE_MIDDLEBOX_COMPAT = 1048576L - default |= OP_ENABLE_MIDDLEBOX_COMPAT + OP_SINGLE_DH_USE | OP_SINGLE_ECDH_USE | + OP_ENABLE_MIDDLEBOX_COMPAT) self.assertEqual(default, ctx.options) ctx.options |= ssl.OP_NO_TLSv1 self.assertEqual(default | ssl.OP_NO_TLSv1, ctx.options)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor