From 1f2b4a3f40fe68f401ae9f93dd8079501a9f9344 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Thu, 25 Jun 2020 13:18:28 -0400 Subject: [PATCH] Fix #1665 This commit fixes #1665 by adding the certificate number to the JSON identifier for cert_eTLS. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 7a161b0..b750190 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8942,7 +8942,7 @@ certificate_info() { out "$indent"; pr_bold " ETS/\"eTLS\"" out ", visibility info " jsonID="cert_eTLS" - etsi_etls_visibility_info "$jsonID" "$spaces" "$HOSTCERT" "$cert_txt" + etsi_etls_visibility_info "${jsonID}${json_postfix}" "$spaces" "$HOSTCERT" "$cert_txt" # *Currently* this is even listed as a vulnerability (CWE-310, CVE-2019-919), see # https://nvd.nist.gov/vuln/detail/CVE-2019-9191, https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9191 # For now we leave this here. We may want to change that later or add infos to other sections (FS & vulnerability)