From 7f6adec5e43ad2563bccf8f7171f2ec92e8a4b21 Mon Sep 17 00:00:00 2001 From: "Eric Gu (@ericguuu)" Date: Wed, 8 Jul 2026 21:28:45 -0400 Subject: [PATCH] fix: inverted return check in sym-encrypt() at testssl.sh:14741 --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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