compat.sh: Skip all *ECDH_* ciphersuites

Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
Pengyu Lv 2023-02-22 09:30:20 +08:00
parent 5e780df3e3
commit a64c277588

View File

@ -537,9 +537,10 @@ add_mbedtls_ciphersuites()
# o_check_ciphersuite STANDARD_CIPHER_SUITE
o_check_ciphersuite()
{
if [ "${1#*ECDH_ECDSA*}" != "$1" ] && \
[ "X${O_SUPPORT_ECDH}" = "XNO" ]; then
SKIP_NEXT="YES"
if [ "${O_SUPPORT_ECDH}" = "NO" ]; then
case "$1" in
*ECDH_*) SKIP_NEXT="YES"
esac
fi
}