From 06737834a34d23b62c72a900b281a478fe8bbb43 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Fri, 27 Dec 2024 22:51:22 -0800 Subject: [PATCH] guard on test case for TLS versions supported --- scripts/openssl.test | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/scripts/openssl.test b/scripts/openssl.test index 2a0a2c8f3e..16d2b4967d 100755 --- a/scripts/openssl.test +++ b/scripts/openssl.test @@ -1261,12 +1261,19 @@ then crl="-C" wolfSuite="ALL" wolfssl_no_resume="yes" - version="4" port=$server_port - do_wolfssl_client - version="3" - do_wolfssl_client + if [ "$wolf_tls13" != "" ] + then + version="4" + do_wolfssl_client + fi + + if [ "$wolf_tls" != "" ] + then + version="3" + do_wolfssl_client + fi fi fi do_cleanup