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)"); }