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 <Gilles.Peskine@arm.com>
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh
index 325bdeb..039ae80 100755
--- a/tests/ssl-opt.sh
+++ b/tests/ssl-opt.sh
@@ -1701,12 +1701,14 @@
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" \