From 8a0f94f56107fb7133aa5a3eff34169ae1be1219 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Mon, 28 Oct 2019 12:43:29 -0400 Subject: [PATCH] Use $jsonID rather than literal string In run_drown(), $jsonID is set to "DROWN" and most calls to fileout() are of the form fileout "$jsonID" ... However, one call is written as fileout "DROWN" ... This PR changes this one call to be consistent with the others. This does not change the functionality of the program. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 738d7c3..5709e58 100755 --- a/testssl.sh +++ b/testssl.sh @@ -15180,7 +15180,7 @@ run_drown() { fi ;; *) prln_svrty_best "not vulnerable on this host and port (OK)" - fileout "DROWN" "OK" "not vulnerable to DROWN on this host and port" "$cve" "$cwe" + fileout "$jsonID" "OK" "not vulnerable to DROWN on this host and port" "$cve" "$cwe" if [[ -n "$cert_fingerprint_sha2" ]]; then outln "$spaces make sure you don't use this certificate elsewhere with SSLv2 enabled services" out "$spaces "