We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6520264 commit a6af6a1Copy full SHA for a6af6a1
tests/test_ssl.py
@@ -4506,15 +4506,9 @@ def pump():
4506
4507
# Check that the MTU set/query functions are doing *something*
4508
c.set_ciphertext_mtu(1000)
4509
- try:
4510
- assert 500 < c.get_cleartext_mtu() < 1000
4511
- except NotImplementedError: # OpenSSL 1.1.0 and earlier
4512
- pass
+ assert 500 < c.get_cleartext_mtu() < 1000
4513
c.set_ciphertext_mtu(500)
4514
4515
- assert 0 < c.get_cleartext_mtu() < 500
4516
4517
+ assert 0 < c.get_cleartext_mtu() < 500
4518
4519
def test_it_works_at_all(self):
4520
self._test_handshake_and_data(srtp_profile=None)
0 commit comments