Commit 582282b7 authored by Christian Heimes's avatar Christian Heimes

Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE

parent 407380f6
......@@ -839,8 +839,8 @@ class ContextTests(unittest.TestCase):
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
ctx.set_ciphers('AESGCM')
names = set(d['name'] for d in ctx.get_ciphers())
self.assertIn('ECDHE-RSA-AES256-GCM-SHA384', names)
self.assertIn('ECDHE-RSA-AES128-GCM-SHA256', names)
self.assertIn('AES256-GCM-SHA384', names)
self.assertIn('AES128-GCM-SHA256', names)
@skip_if_broken_ubuntu_ssl
def test_options(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment