Skip to content

Commit

Permalink
Increase warning and error times for about-to-expire certificates fro…
Browse files Browse the repository at this point in the history
…m 28 and 14 days to 36 and 18 days.
  • Loading branch information
Gary Gray authored and Gary Gray committed Jul 5, 2011
1 parent 171df01 commit e4945a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/check_embedded.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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)");
}
Expand Down

0 comments on commit e4945a2

Please sign in to comment.