From e2dce19559894d24447aaf86a3455a4469dba890 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Thu, 25 Jun 2020 13:24:10 -0400 Subject: [PATCH] Fix #1665 in 3.0 branch 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 5c2e521..22107cf 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8664,7 +8664,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 (PFS & vulnerability)