Skip to content

Commit

Permalink
Report expiry whitelist size
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Dec 6, 2018
1 parent d8fcd5a commit 4619daa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utilities/check_embedded.pl
Original file line number Diff line number Diff line change
Expand Up @@ -418,12 +418,16 @@ sub comment {
print "Distinct RSA moduli: $distinct_moduli\n";
}

if (%expiry_whitelist) {
print "\n";
my $nwhite = scalar(keys(%expiry_whitelist));
print "Expiry whitelist size: $nwhite\n";
}
my $first = 1;
foreach $fingerprint (sort keys %expiry_whitelist) {
if ($expiry_whitelist{$fingerprint} eq 'unused') {
if ($first) {
$first = 0;
print "\n";
print "Unused expiry whitelist fingerprints:\n";
}
print " $fingerprint\n";
Expand Down

0 comments on commit 4619daa

Please sign in to comment.