From 9e7bb2a92c4db6ebabedac470dcf5fc9048a8e7c Mon Sep 17 00:00:00 2001 From: Pengyu Lv Date: Thu, 23 Feb 2023 15:24:47 +0800 Subject: [PATCH] Update some comments Signed-off-by: Pengyu Lv --- .travis.yml | 2 +- tests/compat.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 39b742d414..1062d9906d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,7 +52,7 @@ jobs: - programs/test/selftest - tests/scripts/test_psa_constant_names.py - tests/ssl-opt.sh - # Modern OpenSSL does not support fixed ECDH or null ciphers. + # Modern OpenSSL does not support null ciphers. - tests/compat.sh -p OpenSSL -e 'NULL' - tests/scripts/travis-log-failure.sh # GnuTLS supports CAMELLIA but compat.sh doesn't properly enable it. diff --git a/tests/compat.sh b/tests/compat.sh index 5ad48b2e8e..12613bfe8a 100755 --- a/tests/compat.sh +++ b/tests/compat.sh @@ -614,7 +614,7 @@ setup_arguments() esac case $($OPENSSL ciphers ALL) in - *ECDH-ECDSA*) O_SUPPORT_ECDH="YES";; + *ECDH-ECDSA*|*ECDH-RSA*) O_SUPPORT_ECDH="YES";; *) O_SUPPORT_ECDH="NO";; esac @@ -834,7 +834,7 @@ run_client() { if [ $EXIT -eq 0 ]; then RESULT=0 else - # If the cipher isn't supported... + # If it is NULL cipher ... if grep 'Cipher is (NONE)' $CLI_OUT >/dev/null; then RESULT=1 else