summaryrefslogtreecommitdiff
path: root/scripts/findnull.pl
blob: 02df02fb8e88a3097f4d01b7a5fba9c569a74ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl -w

foreach (<../crt/*>)
{
  my $res=`openssl x509 -in $_ -text -noout -inform der`;
  if($res=~m/\\x00/)
  {
    print "Alert: $_ is affected!\n";
  }
  else
  {
    #print "$_ not affected\n";
  }
}