From 9c2d01f47a7f6e9dd5cbfcd514c7b518ef4ec140 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Mon, 10 Sep 2012 08:59:24 +0000 Subject: [PATCH] Indicate expiry date for expired certificates. --- build/check_embedded.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/check_embedded.pl b/build/check_embedded.pl index 01c74604..ff11e2ee 100755 --- a/build/check_embedded.pl +++ b/build/check_embedded.pl @@ -219,9 +219,9 @@ sub comment { $days = ($notAfterTime-time())/86400.0; if ($days < -180) { my $d = floor(-$days); - error("EXPIRED LONG AGO ($d days)"); + error("EXPIRED LONG AGO ($d days; $notAfter)"); } elsif ($days < 0) { - error("EXPIRED"); + error("EXPIRED ($notAfter)"); } elsif ($days < 18) { $days = int($days); error("expires in $days days ($notAfter)");