From 91ceaca1e94df11578d0f637bb46cc9e99b81f38 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Thu, 25 Jun 2020 07:31:50 -0400 Subject: [PATCH] Fix #1662 This commit fixes #1662 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 faebe83..86a9ce5 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8647,7 +8647,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 "