From e4945a27942cfc612e74102577e61cb5b22ff6c0 Mon Sep 17 00:00:00 2001 From: Gary Gray Date: Tue, 5 Jul 2011 13:37:34 +0000 Subject: [PATCH] Increase warning and error times for about-to-expire certificates from 28 and 14 days to 36 and 18 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 12e28cba..64141a90 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 < 14) { + } elsif ($days < 18) { $days = int($days); error("expires in $days days ($notAfter)"); - } elsif ($days < 28) { + } elsif ($days < 36) { $days = int($days); warning("expires in $days days ($notAfter)"); }