summaryrefslogtreecommitdiff
path: root/scripts/findnull.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/findnull.pl')
-rw-r--r--scripts/findnull.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/findnull.pl b/scripts/findnull.pl
new file mode 100644
index 0000000..02df02f
--- /dev/null
+++ b/scripts/findnull.pl
@@ -0,0 +1,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";
+ }
+}