compat.sh: run 1.2-only tests with DTLS too

This commit is contained in:
Manuel Pégourié-Gonnard 2018-02-15 11:06:14 +01:00
parent 841192ba88
commit 392c2d2524

View File

@ -687,7 +687,7 @@ add_mbedtls_ciphersuites()
;; ;;
"RSA") "RSA")
if [ "$MODE" = "tls1_2" ]; if [ `minor_ver "$MODE"` -ge 3 ]
then then
M_CIPHERS="$M_CIPHERS \ M_CIPHERS="$M_CIPHERS \
TLS-RSA-WITH-AES-128-CCM \ TLS-RSA-WITH-AES-128-CCM \
@ -715,7 +715,7 @@ add_mbedtls_ciphersuites()
TLS-RSA-PSK-WITH-NULL-SHA \ TLS-RSA-PSK-WITH-NULL-SHA \
" "
fi fi
if [ "$MODE" = "tls1_2" ]; if [ `minor_ver "$MODE"` -ge 3 ]
then then
M_CIPHERS="$M_CIPHERS \ M_CIPHERS="$M_CIPHERS \
TLS-PSK-WITH-AES-128-CCM \ TLS-PSK-WITH-AES-128-CCM \