mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-01 22:47:23 +00:00
Use get_tls_version to determine TLS_VERSION instead of statically assigning it
Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
+1
-1
@@ -1774,7 +1774,7 @@ run_test() {
|
|||||||
# Note that this detection is wrong in some cases, which causes unduly
|
# Note that this detection is wrong in some cases, which causes unduly
|
||||||
# skipped test cases in builds with TLS 1.3 but not TLS 1.2.
|
# skipped test cases in builds with TLS 1.3 but not TLS 1.2.
|
||||||
# https://github.com/Mbed-TLS/mbedtls/issues/9560
|
# https://github.com/Mbed-TLS/mbedtls/issues/9560
|
||||||
TLS_VERSION="TLS12"
|
TLS_VERSION=$(get_tls_version "$SRV_CMD" "$CLI_CMD");
|
||||||
|
|
||||||
# If we're in a PSK-only build and the test can be adapted to PSK, do that.
|
# If we're in a PSK-only build and the test can be adapted to PSK, do that.
|
||||||
maybe_adapt_for_psk "$@"
|
maybe_adapt_for_psk "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user