From 8997be6df8dcf57f95a82026b991b94c2d9707e4 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Tue, 3 May 2011 11:23:59 +0000 Subject: [PATCH] Reduce warning and error times for about-to-expire certificates from 60 and 30 days to 28 and 14 days. --- 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 30b5b399..12e28cba 100755 --- a/build/check_embedded.pl +++ b/build/check_embedded.pl @@ -202,10 +202,10 @@ sub comment { $days = (str2time($notAfter)-time())/86400.0; if ($days < 0) { error("EXPIRED"); - } elsif ($days < 30) { + } elsif ($days < 14) { $days = int($days); error("expires in $days days ($notAfter)"); - } elsif ($days < 60) { + } elsif ($days < 28) { $days = int($days); warning("expires in $days days ($notAfter)"); }