compat.sh: Skip all *ECDH_* ciphersuites
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
5e780df3e3
commit
a64c277588
1 changed files with 5 additions and 4 deletions
|
@ -537,9 +537,10 @@ add_mbedtls_ciphersuites()
|
||||||
# o_check_ciphersuite STANDARD_CIPHER_SUITE
|
# o_check_ciphersuite STANDARD_CIPHER_SUITE
|
||||||
o_check_ciphersuite()
|
o_check_ciphersuite()
|
||||||
{
|
{
|
||||||
if [ "${1#*ECDH_ECDSA*}" != "$1" ] && \
|
if [ "${O_SUPPORT_ECDH}" = "NO" ]; then
|
||||||
[ "X${O_SUPPORT_ECDH}" = "XNO" ]; then
|
case "$1" in
|
||||||
SKIP_NEXT="YES"
|
*ECDH_*) SKIP_NEXT="YES"
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -614,7 +615,7 @@ setup_arguments()
|
||||||
|
|
||||||
case $($OPENSSL ciphers ALL) in
|
case $($OPENSSL ciphers ALL) in
|
||||||
*ECDH-ECDSA*) O_SUPPORT_ECDH="YES";;
|
*ECDH-ECDSA*) O_SUPPORT_ECDH="YES";;
|
||||||
*)O_SUPPORT_ECDH="NO";;
|
*) O_SUPPORT_ECDH="NO";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "X$VERIFY" = "XYES" ];
|
if [ "X$VERIFY" = "XYES" ];
|
||||||
|
|
Loading…
Reference in a new issue