Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Flag certificates which have KeyNames and expire beyond the end of 2014.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Mar 7, 2014
1 parent 851df1c commit d8abbd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/check_embedded.pl
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ sub comment {
#
if ($notAfter =~ /(\d\d\d\d)/) {
my $year = $1;
$expiryYear = $year;
if ($year > $maxYear) {
$maxYear = $year;
}
Expand Down Expand Up @@ -481,6 +482,9 @@ sub comment {
warning("issuer \"$issuerCN\" to be retired; certificate expires $notAfter; remove KeyName?");
$issuerMark{$issuerCN} = '*';
}
if ($hasKeyName && ($expiryYear > 2014)) {
warning("expires $notAfter, which is later than 2014");
}

#
# Count issuers.
Expand Down

0 comments on commit d8abbd9

Please sign in to comment.