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