From 582282b7d08be223b2d356db8bf3f9b7699aca4b Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 6 Sep 2016 11:27:25 +0200 Subject: Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE --- Lib/test/test_ssl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 07fb102..4e0e4a2 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -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): -- cgit v0.12