mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
Automatically skip tests for some absent features: tickets, ALPN
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
82a4ab2486
commit
a165b5ced6
@ -1152,6 +1152,16 @@ run_test() {
|
|||||||
requires_config_enabled MBEDTLS_SSL_PROTO_DTLS
|
requires_config_enabled MBEDTLS_SSL_PROTO_DTLS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check more TLS protocol features.
|
||||||
|
case "$SRV_CMD $CLI_CMD" in
|
||||||
|
*[-_\ =]tickets=[^0]*)
|
||||||
|
requires_config_enabled MBEDTLS_SSL_TICKET_C;;
|
||||||
|
esac
|
||||||
|
case "$SRV_CMD $CLI_CMD" in
|
||||||
|
*[-_\ =]alpn=*)
|
||||||
|
requires_config_enabled MBEDTLS_SSL_ALPN;;
|
||||||
|
esac
|
||||||
|
|
||||||
# If the client or serve requires a ciphersuite, check that it's enabled.
|
# If the client or serve requires a ciphersuite, check that it's enabled.
|
||||||
maybe_requires_ciphersuite_enabled "$SRV_CMD" "$@"
|
maybe_requires_ciphersuite_enabled "$SRV_CMD" "$@"
|
||||||
maybe_requires_ciphersuite_enabled "$CLI_CMD" "$@"
|
maybe_requires_ciphersuite_enabled "$CLI_CMD" "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user