diff options
Diffstat (limited to 'ssh-vulnkey.c')
-rw-r--r-- | ssh-vulnkey.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ssh-vulnkey.c b/ssh-vulnkey.c index fd37a1da8..b91f42925 100644 --- a/ssh-vulnkey.c +++ b/ssh-vulnkey.c | |||
@@ -372,8 +372,13 @@ main(int argc, char **argv) | |||
372 | printf("# Some keys on your system have been compromised!\n"); | 372 | printf("# Some keys on your system have been compromised!\n"); |
373 | printf("# You must replace them using ssh-keygen(1).\n"); | 373 | printf("# You must replace them using ssh-keygen(1).\n"); |
374 | } | 374 | } |
375 | printf("#\n"); | 375 | if (some_unknown || some_compromised) { |
376 | printf("# See the ssh-vulnkey(1) manual page for further advice.\n"); | 376 | printf("#\n"); |
377 | printf("# See the ssh-vulnkey(1) manual page for further advice.\n"); | ||
378 | } else if (verbosity > 0) { | ||
379 | printf("#\n"); | ||
380 | printf("# No blacklisted keys!\n"); | ||
381 | } | ||
377 | } | 382 | } |
378 | 383 | ||
379 | return ret; | 384 | return ret; |