File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments