From ee0b44406d2b658886760ea08c0af12781ab7e3a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 8 Feb 2020 12:46:47 -0800 Subject: fixes #1005 TLS 1.3 support This introduces support for an external wolfSSL plugin, and generally creates the framework for pluggable TLS implementations. The wolfSSL engine is provided via an external module (git submodule), available either under a GPLv3 license or a commercial license. --- tests/wss.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/wss.c') 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. +// Copyright 2020 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // // 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"; -- cgit v1.2.3-70-g09d2