From bce1083df88892da8bb2bd7c6c0eb36ded1e46e9 Mon Sep 17 00:00:00 2001 From: vinny-pereira Date: Thu, 8 May 2025 07:48:20 -0600 Subject: [PATCH] fix run_breach error output --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 99b35fc..f2a3755 100755 --- a/testssl.sh +++ b/testssl.sh @@ -17980,11 +17980,11 @@ run_breach() { # warn_empty / warn_stalled if [[ ${has_compression[@]} =~ warn_empty ]]; then pr_warning "At least 1/4 checks failed (HTTP header request was empty, debug: ${has_compression[@]}" - out ", debug: ${has_compression[@]})" + outln ", debug: ${has_compression[@]})" fileout "$jsonID" "WARN" "Test failed as HTTP response was empty, debug: ${has_compression[@]}" "$cve" "$cwe" else # warn_stalled pr_warning "At least 1/4 checks failed (HTTP header request stalled and was terminated" - out ", debug: ${has_compression[@]})" + outln ", debug: ${has_compression[@]})" fileout "$jsonID" "WARN" "Test failed as HTTP request stalled and was terminated" "$cve" "$cwe" fi else