aboutsummaryrefslogtreecommitdiff
path: root/tests/wss.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wss.c')
-rw-r--r--tests/wss.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/wss.c b/tests/wss.c
index 78601066..ca33a542 100644
--- a/tests/wss.c
+++ b/tests/wss.c
@@ -1,5 +1,5 @@
//
-// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -235,6 +235,10 @@ out:
TestMain("WebSocket Secure (TLS) Transport", {
static trantest tt;
+ if (strcmp(nng_tls_engine_name(), "none") == 0) {
+ Skip("TLS not enabled");
+ }
+
tt.dialer_init = init_dialer_wss;
tt.listener_init = init_listener_wss;
tt.tmpl = "wss://localhost:%u/test";