Skip to content

Commit 6327348

Browse files
committed
check-certificates: split validity output
1 parent 5ae3cb3 commit 6327348

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

check-certificates.rsc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@
9292
[ $FormatLine "Private key" [ $IfThenElse (($CertVal->"private-key") = true) "available" "missing" ] ] . "\n" . \
9393
[ $FormatLine "Fingerprint" ($CertVal->"fingerprint") ] . "\n" . \
9494
[ $FormatLine "Issuer" ($CertVal->"ca" . ([ $ParseKeyValueStore ($CertVal->"issuer") ]->"CN")) ] . "\n" . \
95-
[ $FormatLine "Validity" ($CertVal->"invalid-before" . " to " . $CertVal->"invalid-after") ] . "\n" . \
95+
"Validity:\n" . \
96+
[ $FormatLine " from" ($CertVal->"invalid-before") ] . "\n" . \
97+
[ $FormatLine " to" ($CertVal->"invalid-after") ] . "\n" . \
9698
[ $FormatLine "Expires in" [ $IfThenElse (($CertVal->"expired") = true) "expired" [ $FormatExpire ($CertVal->"expires-after") ] ] ]);
9799
}
98100

0 commit comments

Comments
 (0)