Merge pull request #2210 from dcooper16/fix_cipher_grading

Fix cipher grading
This commit is contained in:
Dirk Wetter 2022-08-22 12:09:20 +02:00 committed by GitHub
commit 3ac6bd9335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3557,7 +3557,6 @@ neat_header(){
# "true" : if the cipher's "quality" should be highlighted
# "false": if the line should be printed in light grey
# "" : if line should be returned as a string
# "available" / "not a/v" when SHOW_EACH_C is set
neat_list(){
local hexcode="$1"
@ -3580,10 +3579,8 @@ neat_list(){
enc="${enc//POLY1305/}" # remove POLY1305
enc="${enc//\//}" # remove "/"
# For rating set bit size but only when we're not on all display mode (global var SHOW_EACH_C)
if [[ $how2show != "not a/v" ]] && "$SHOW_EACH_C" ]]; then
:
else
# For rating set bit size but only when cipher is supported by server.
if [[ $how2show == true ]]; then
set_ciph_str_score $strength
fi