Print names of new tests properly
Signed-off-by: Max Fillinger <maximilian.fillinger@foxcrypto.com>
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh
index ad4d8c3..698c53a 100755
--- a/tests/ssl-opt.sh
+++ b/tests/ssl-opt.sh
@@ -1957,7 +1957,13 @@
unset EXPORTED_KEY1
unset EXPORTED_KEY2
TLS_VERSION="$1"
- run_test "TLS $TLS_VERSION: Export keying material" \
+
+ case $TLS_VERSION in
+ tls12) TLS_VERSION_PRINT="TLS 1.2";;
+ tls13) TLS_VERSION_PRINT="TLS 1.3";;
+ esac
+
+ run_test "$TLS_VERSION_PRINT: Export keying material" \
"$P_SRV debug_level=4 force_version=$TLS_VERSION exp_label=test-label" \
"$P_CLI debug_level=4 force_version=$TLS_VERSION exp_label=test-label" \
0 \
@@ -1971,7 +1977,13 @@
unset EXPORTED_KEY1
unset EXPORTED_KEY2
TLS_VERSION="$1"
- run_test "TLS $TLS_VERSION: Export keying material (OpenSSL compatibility)" \
+
+ case TLS_VERSION in
+ tls12) TLS_VERSION_PRINT="TLS 1.2";;
+ tls13) TLS_VERSION_PRINT="TLS 1.3";;
+ esac
+
+ run_test "$TLS_VERSION_PRINT: Export keying material (OpenSSL compatibility)" \
"$P_SRV debug_level=4 force_version=$TLS_VERSION exp_label=test-label" \
"$O_CLI -keymatexport=test-label" \
0 \