projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ peter@palfrader.org-20080519140145-vtx2iikqv1z5hi27]
[mirror/dsa-nagios.git]
/
dsa-nagios-nrpe-config
/
weak-ssh-keys-check
diff --git
a/dsa-nagios-nrpe-config/weak-ssh-keys-check
b/dsa-nagios-nrpe-config/weak-ssh-keys-check
index
3e07842
..
a1a5294
100755
(executable)
--- a/
dsa-nagios-nrpe-config/weak-ssh-keys-check
+++ b/
dsa-nagios-nrpe-config/weak-ssh-keys-check
@@
-227,6
+227,7
@@
sub from_ssh_auth_file ($) {
chomp $line;
my $lineno = $.;
clear_tmp $tmp;
+ next if $line =~ m/^$/; # ignore empty lines
next if $line =~ m/^#/; # ignore comments
if ($line =~ m/^ssh-dss/) {
$dsa_keys++;