diff options
author | Colin Watson <cjwatson@debian.org> | 2008-05-26 00:50:20 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-05-26 00:50:20 +0000 |
commit | 8c20634809672da7272dd1c9aad2c2141d8f3e35 (patch) | |
tree | 1c8613f134292869dba0b8d2c39e0aa7d560b6b6 /ssh-vulnkey.c | |
parent | 6a4f07db454cfb4c9ba87c3ec8bef14380cb4fbe (diff) |
Make 'ssh-vulnkey -v' output each file name it examines (thanks, Hugh
Daniel).
Diffstat (limited to 'ssh-vulnkey.c')
-rw-r--r-- | ssh-vulnkey.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-vulnkey.c b/ssh-vulnkey.c index cade7b08a..3ffc3fa0c 100644 --- a/ssh-vulnkey.c +++ b/ssh-vulnkey.c | |||
@@ -154,6 +154,8 @@ do_filename(const char *filename, int quiet_open) | |||
154 | perror(filename); | 154 | perror(filename); |
155 | return -1; | 155 | return -1; |
156 | } | 156 | } |
157 | if (verbosity > 0) | ||
158 | printf("# %s\n", filename); | ||
157 | } else | 159 | } else |
158 | f = stdin; | 160 | f = stdin; |
159 | while (read_keyfile_line(f, filename, line, sizeof(line), | 161 | while (read_keyfile_line(f, filename, line, sizeof(line), |