mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 22:05:26 +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:
		| @@ -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 | ||||
|                          ;; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David Cooper
					David Cooper