Skip to content

Commit 130b5b2

Browse files
committed
Fix CRIME test on servers only supporting TLS 1.3
As jsonID is not set by run_crime, make the fileout invocation for servers supporting only TLS 1.3 use the literal "CRIME_TLS" instead. Previously running testssl with CSV or JSON output would produce an item with the wrong ID.
1 parent 897443f commit 130b5b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14666,7 +14666,7 @@ run_crime() {
1466614666
pr_svrty_best "not vulnerable (OK)"
1466714667
[[ $DEBUG -ge 1 ]] && out ", no compression in TLS 1.3 only servers"
1466814668
outln
14669-
fileout "$jsonID" "OK" "TLS 1.3 only server" "$cve" "$cwe"
14669+
fileout "CRIME_TLS" "OK" "TLS 1.3 only server" "$cve" "$cwe"
1467014670
return 0
1467114671
fi
1467214672

0 commit comments

Comments
 (0)