Skip to content

Commit 582282b

Browse files
committed
Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE
1 parent 407380f commit 582282b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_ssl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,8 +839,8 @@ def test_get_ciphers(self):
839839
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
840840
ctx.set_ciphers('AESGCM')
841841
names = set(d['name'] for d in ctx.get_ciphers())
842-
self.assertIn('ECDHE-RSA-AES256-GCM-SHA384', names)
843-
self.assertIn('ECDHE-RSA-AES128-GCM-SHA256', names)
842+
self.assertIn('AES256-GCM-SHA384', names)
843+
self.assertIn('AES128-GCM-SHA256', names)
844844

845845
@skip_if_broken_ubuntu_ssl
846846
def test_options(self):

0 commit comments

Comments
 (0)