mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
don't require OpenSSL SNI to pass hostname to ssl functions (#22921)
Patch by Donald Stufft.
This commit is contained in:
parent
378e15d7ab
commit
7243b574e5
16 changed files with 22 additions and 67 deletions
|
|
@ -1408,7 +1408,7 @@ class SelectorSslTransportTests(test_utils.TestCase):
|
|||
self.assertEqual(tr._conn_lost, 1)
|
||||
self.assertEqual(1, self.loop.remove_reader_count[1])
|
||||
|
||||
@unittest.skipIf(ssl is None or not ssl.HAS_SNI, 'No SNI support')
|
||||
@unittest.skipIf(ssl is None, 'No SSL support')
|
||||
def test_server_hostname(self):
|
||||
_SelectorSslTransport(
|
||||
self.loop, self.sock, self.protocol, self.sslcontext,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue