From d9f2ca80d6c0fd3b766526775a387e9fe443fd9d Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Fri, 17 Apr 2020 14:54:11 +0200 Subject: [PATCH] fix conditional statement (regression) --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 9522fef..316269a 100755 --- a/testssl.sh +++ b/testssl.sh @@ -20737,7 +20737,7 @@ set_grading_state() { done # ... atleast one of these has to be set - "$do_allciphers" || "$do_cipher_per_proto" && let nr_enabled++ + [[ "$do_allciphers" || "$do_cipher_per_proto" ]] && let nr_enabled++ # ... else we can't grade if [[ $nr_enabled -lt 18 ]]; then