summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls_conf_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_tls_conf_command.py')
-rw-r--r--test/test_tls_conf_command.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_tls_conf_command.py b/test/test_tls_conf_command.py
index d48efe64..49df7bf3 100644
--- a/test/test_tls_conf_command.py
+++ b/test/test_tls_conf_command.py
@@ -40,6 +40,10 @@ def test_tls_conf_command():
(_, sock) = client.get_ssl(start=True)
shared_ciphers = sock.shared_ciphers()
+
+ if not shared_ciphers:
+ pytest.skip('no shared ciphers')
+
protocols = list(set(c[1] for c in shared_ciphers))
protocol = sock.cipher()[1]