summaryrefslogtreecommitdiffstats
path: root/test/ssl-tests/04-client_auth.cnf.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/ssl-tests/04-client_auth.cnf.in')
-rw-r--r--test/ssl-tests/04-client_auth.cnf.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ssl-tests/04-client_auth.cnf.in b/test/ssl-tests/04-client_auth.cnf.in
index ad0ae7ae18..d908ad1c7d 100644
--- a/test/ssl-tests/04-client_auth.cnf.in
+++ b/test/ssl-tests/04-client_auth.cnf.in
@@ -116,7 +116,9 @@ sub generate_tests() {
test => {
"ExpectedResult" => "ServerFail",
"ExpectedServerAlert" =>
- ($protocol_name eq "flex" && !disabled("tls1_3"))
+ ($protocol_name eq "flex"
+ && !disabled("tls1_3")
+ && (!disabled("ec") || !disabled("dh")))
? "CertificateRequired" : "HandshakeFailure",
"Method" => $method,
},