Author bugsrep
Recipients Vladyslav.Bondar, bugsrep, christian.heimes, skip.montanaro, taleinat, xtreak
Date 2020-09-19.01:36:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600479388.76.0.0817291984532.issue41561@roundup.psfhosted.org>
In-reply-to
Content
On my system, it still fails.

Here is the content of modified Lib/test/test_ssl.py:

3827     @requires_minimum_version
3828     @requires_tls_version('TLSv1_2')
3829     @requires_tls_version('TLSv1')
3830     def test_min_max_version_mismatch(self):
3831         client_context, server_context, hostname = testing_context()
3832         # client 1.0, server 1.2 (mismatch)
3833         server_context.maximum_version = ssl.TLSVersion.TLSv1_2
3834         server_context.minimum_version = ssl.TLSVersion.TLSv1_2
3835         client_context.maximum_version = ssl.TLSVersion.TLSv1
3836         client_context.minimum_version = ssl.TLSVersion.TLSv1
3837         with ThreadedEchoServer(context=server_context) as server:
3838             with client_context.wrap_socket(socket.socket(),
3839                                             server_hostname=hostname) as s:
3840                 with self.assertRaises(ssl.SSLError) as e:
3841                     s.connect((HOST, server.port))
3842                 self.assertIn("alert", str(e.exception))
3843
3844     @requires_minimum_version
3845     @requires_tls_version('SSLv3')
History
Date User Action Args
2020-09-19 01:36:28bugsrepsetrecipients: + bugsrep, skip.montanaro, taleinat, christian.heimes, Vladyslav.Bondar, xtreak
2020-09-19 01:36:28bugsrepsetmessageid: <1600479388.76.0.0817291984532.issue41561@roundup.psfhosted.org>
2020-09-19 01:36:28bugsreplinkissue41561 messages
2020-09-19 01:36:28bugsrepcreate