From f7ef50b9687a92aae70a14ca65058f3c2f937c7e Mon Sep 17 00:00:00 2001 From: David Cooper Date: Thu, 25 Jun 2020 07:37:37 -0400 Subject: [PATCH] Fix #1662 in 3.0 branch This commit fixes #1662 in the 3.0 branch by changing the fileout to use the value of $cert_ext_keyusage rather than the string "cert_ext_keyusage". --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index ef566e8..5c2e521 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8373,7 +8373,7 @@ certificate_info() { outok=false fi if "$outok"; then - fileout "${jsonID}${json_postfix}" "INFO" "cert_ext_keyusage" + fileout "${jsonID}${json_postfix}" "INFO" "$cert_ext_keyusage" fi out "$indent"; pr_bold " Serial / Fingerprints "