]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE
authorChristian Heimes <christian@python.org>
Tue, 6 Sep 2016 09:27:25 +0000 (11:27 +0200)
committerChristian Heimes <christian@python.org>
Tue, 6 Sep 2016 09:27:25 +0000 (11:27 +0200)
Lib/test/test_ssl.py

index 07fb1026a5145ec54942b398a32d777c3d09d178..4e0e4a2185a7e7bdb15c40d580319fb7ccad53d5 100644 (file)
@@ -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):