From 963cb35a24df4c9f33a9ea4aad2d18140acf411d Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Tue, 23 Apr 2019 11:52:44 +0100 Subject: [PATCH] Fix use of requires_config_enabled in ssl-opt.sh requires_config_enabled doesn't support multiple config options. Tests having multiple configuration dependencies must be prefixed with multiple invocations of requires_config_enabled instead. --- tests/ssl-opt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 5ee8c0a7e..408326556 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -1203,7 +1203,8 @@ run_test "Connection ID: Client+Server enabled, Client+Server CID empty, AES- "$P_CLI dtls=1 cid=1 force_ciphersuite=TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256" \ 0 -requires_config_enabled MBEDTLS_SSL_CID MBEDTLS_SSL_RENEGOTIATION +requires_config_enabled MBEDTLS_SSL_CID +requires_config_enabled MBEDTLS_SSL_RENEGOTIATION run_test "Connection ID: Client+Server enabled, renegotiate" \ "$P_SRV dtls=1 cid=1 cid_val=dead renegotiation=1" \ "$P_CLI dtls=1 cid=1 cid_val=beef renegotiation=1 renegotiate=1" \