From e15aea47909dd7729c86833b0067e4a1d51c1e43 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Wed, 25 Mar 2020 15:57:00 -0400 Subject: [PATCH] Modify pr_cipher_quality to handle ARIA This commit fixes the way pr_cipher_quality handles the OpenSSL names of some ARIA ciphers that either provide no authentication or that use CBC padding. --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 9610979..03d2970 100755 --- a/testssl.sh +++ b/testssl.sh @@ -5948,7 +5948,7 @@ pr_cipher_quality() { # We have an OpenSSL name and can't convert it to the RFC name which is rarely # the case, see "prepare_arrays()" and "./etc/cipher-mapping.txt" case "$cipher" in - *NULL*|EXP*|ADH*|AECDH*) + *NULL*|EXP*|ADH*|AECDH*|*anon*) pr_svrty_critical "$text" return 1 ;; @@ -5983,7 +5983,7 @@ pr_cipher_quality() { pr_svrty_best "$text" return 7 ;; #best ones - *AES*SHA*|*CAMELLIA*SHA*|*SEED*SHA*) + *AES*SHA*|*CAMELLIA*SHA*|*SEED*SHA*|*CBC*) pr_svrty_low "$text" return 4 ;;