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.
This commit is contained in:
Hanno Becker 2019-04-23 11:52:44 +01:00
parent d029a2b57f
commit 9bae30d00d

View file

@ -1361,7 +1361,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" \