From e70605c28ec960d4933ba2d944eccb9c81f1ac9d Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 8 Apr 2022 17:22:03 +0200 Subject: [PATCH] Add requirement for RC4 tests The automatic ciphersuite detection deliberately doesn't operate on test cases that verify that the test suite is rejected, but some RC4 test cases only apply to configurations where the algorithm must be enabled at compile time (otherwise the connection would fail in a different way). Signed-off-by: Gilles Peskine --- tests/ssl-opt.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 325bdebde..039ae8082 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -1701,12 +1701,14 @@ run_test "RC4: server half, client enabled" \ 1 \ -s "SSL - The server has no ciphersuites in common" +requires_ciphersuite_enabled TLS-RSA-WITH-RC4-128-SHA run_test "RC4: server enabled, client disabled" \ "$P_SRV force_ciphersuite=TLS-RSA-WITH-RC4-128-SHA" \ "$P_CLI" \ 1 \ -s "SSL - The server has no ciphersuites in common" +requires_ciphersuite_enabled TLS-RSA-WITH-RC4-128-SHA run_test "RC4: both enabled" \ "$P_SRV force_ciphersuite=TLS-RSA-WITH-RC4-128-SHA" \ "$P_CLI force_ciphersuite=TLS-RSA-WITH-RC4-128-SHA" \