diff --git a/testssl.sh b/testssl.sh index 6cd3688..0ffb4ea 100755 --- a/testssl.sh +++ b/testssl.sh @@ -14203,7 +14203,7 @@ sym-encrypt() { return 7 fi [[ $? -ne 0 ]] && return 7 - [[ -n "$ciphertext" ]] && return 7 + [[ -z "$ciphertext" ]] && return 7 tm_out "$(strip_spaces "$ciphertext")" return 0