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 a892ce6 commit 070beebCopy full SHA for 070beeb
1 file changed
tests/test_tcp.py
@@ -2203,6 +2203,8 @@ def test_renegotiation(self):
2203
sslctx.use_privatekey_file(self.ONLYKEY)
2204
sslctx.use_certificate_chain_file(self.ONLYCERT)
2205
client_sslctx = self._create_client_ssl_context()
2206
+ if hasattr(ssl, 'OP_NO_TLSv1_3'):
2207
+ client_sslctx.options |= ssl.OP_NO_TLSv1_3
2208
2209
def server(sock):
2210
conn = openssl_ssl.Connection(sslctx, sock)
@@ -2560,6 +2562,8 @@ def test_flush_before_shutdown(self):
2560
2562
sslctx_openssl.use_privatekey_file(self.ONLYKEY)
2561
2563
sslctx_openssl.use_certificate_chain_file(self.ONLYCERT)
2564
2565
2566
2567
2568
future = None
2569
0 commit comments