Skip to content

Commit 39029e9

Browse files
committed
fix orthographic error
1 parent 6194740 commit 39029e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10125,8 +10125,8 @@ certificate_info() {
1012510125
cn="$(awk '/Subject:/{stop=NR+4}; NR<=stop' <<< "${intermediate_certs_txt[i]}" | awk -F= '/CN/ { print $NF }')"
1012610126
issuer_CN="$(awk '/Issuer:/{stop=NR+4}; NR<=stop' <<< "${intermediate_certs_txt[i]}" | awk -F= '/CN/ { print $NF }')"
1012710127
# to catch errors like #2789 during unit test:
10128-
[[ -z "$cn" ]] && cn="FIXME: cn Error"
10129-
[[ -z "$issuer_CN" ]] && issuer_CN="FIXME: issuer_CN Error"
10128+
[[ -z "$cn" ]] && cn="FIXME: cn error"
10129+
[[ -z "$issuer_CN" ]] && issuer_CN="FIXME: issuer_CN error"
1013010130
pr_italic "$(strip_leading_space "$cn")"; out " <-- "; prln_italic "$(strip_leading_space "$issuer_CN")"
1013110131
fileout "intermediate_cert_notAfter <#${i}>${json_postfix}" "$expok" "$enddate"
1013210132
fileout "intermediate_cert_expiration <#${i}>${json_postfix}" "$expok" "$cn_finding"

0 commit comments

Comments
 (0)