mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
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.
This commit is contained in:
parent
d177a90bbe
commit
e15aea4790
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user