From 9c075469c2876ed4e97d3e15429f6ca0fb7f97c6 Mon Sep 17 00:00:00 2001 From: Dirk Date: Sun, 16 Sep 2018 18:18:43 +0200 Subject: [PATCH] Code readability change to c9b725e --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 9bc5ed8..7c78f54 100755 --- a/testssl.sh +++ b/testssl.sh @@ -977,9 +977,9 @@ csv_header() { else [[ -s "$CSVFILE" ]] && fatal "non-empty \"$CSVFILE\" exists. Either use \"--append\" or (re)move it" $ERR_FCREATE if "$GIVE_HINTS"; then - echo "\"id\",\"fqdn/ip\",\"port\",\"severity\",\"finding\",\"cve\",\"cwe\",\"hint\"" > "$CSVFILE" + fileout_csv_finding "id" "fqdn/ip" "port" "severity" "finding" "cve" "cwe" "hint" > "$CSVFILE" else - echo "\"id\",\"fqdn/ip\",\"port\",\"severity\",\"finding\",\"cve\",\"cwe\"" > "$CSVFILE" + fileout_csv_finding "id" "fqdn/ip" "port" "severity" "finding" "cve" "cwe" > "$CSVFILE" fi fi return 0