summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2016-09-06 09:27:25 (GMT)
committerChristian Heimes <christian@python.org>2016-09-06 09:27:25 (GMT)
commit582282b7d08be223b2d356db8bf3f9b7699aca4b (patch)
treeed6f24861989d17f2e94b6737135ada78618c404
parent407380f63f9f831e0cd445ba8527d3d195f478ed (diff)
downloadcpython-582282b7d08be223b2d356db8bf3f9b7699aca4b.zip
cpython-582282b7d08be223b2d356db8bf3f9b7699aca4b.tar.gz
cpython-582282b7d08be223b2d356db8bf3f9b7699aca4b.tar.bz2
Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE
-rw-r--r--Lib/test/test_ssl.py4
1 files 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):