1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-16 02:31:57 +02:00

Fix in 3.0 branch

This commit fixes  by adding the certificate number to the JSON identifier for cert_eTLS.
This commit is contained in:
David Cooper
2020-06-25 13:24:10 -04:00
committed by GitHub
parent 916d942b00
commit e2dce19559

@ -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)