mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-23 22:45:22 +00:00
Fixes RC4 config dependencies in tests in ssl-opt.h
Adds dependencies on MBEDTLS_REMOVE_ARC4_CIPHERSUITES for tests that require RC4 to be disabled (the default config).
This commit is contained in:
parent
7ee51c626a
commit
99239d6ff1
|
@ -611,12 +611,14 @@ run_test "Default, DTLS" \
|
||||||
|
|
||||||
# Tests for rc4 option
|
# Tests for rc4 option
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_REMOVE_ARC4_CIPHERSUITES
|
||||||
run_test "RC4: server disabled, client enabled" \
|
run_test "RC4: server disabled, client enabled" \
|
||||||
"$P_SRV" \
|
"$P_SRV" \
|
||||||
"$P_CLI force_ciphersuite=TLS-RSA-WITH-RC4-128-SHA" \
|
"$P_CLI force_ciphersuite=TLS-RSA-WITH-RC4-128-SHA" \
|
||||||
1 \
|
1 \
|
||||||
-s "SSL - The server has no ciphersuites in common"
|
-s "SSL - The server has no ciphersuites in common"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_REMOVE_ARC4_CIPHERSUITES
|
||||||
run_test "RC4: server half, client enabled" \
|
run_test "RC4: server half, client enabled" \
|
||||||
"$P_SRV arc4=1" \
|
"$P_SRV arc4=1" \
|
||||||
"$P_CLI force_ciphersuite=TLS-RSA-WITH-RC4-128-SHA" \
|
"$P_CLI force_ciphersuite=TLS-RSA-WITH-RC4-128-SHA" \
|
||||||
|
|
Loading…
Reference in a new issue