summaryrefslogtreecommitdiff
path: root/ssh-vulnkey.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-05-26 22:16:40 +0000
committerColin Watson <cjwatson@debian.org>2008-05-26 22:16:40 +0000
commit93e9c23240b154d074dc33f26ccb23f8874f8c3a (patch)
tree2348f401a2148e4ea2e23e09c6ab1be5cf525003 /ssh-vulnkey.c
parent85825a2f1ca42576b0f9cd2b170314c107b9af26 (diff)
Refactor rejection of blacklisted user keys into a single
reject_blacklisted_key function in auth.c (thanks, Dmitry V. Levin).
Diffstat (limited to 'ssh-vulnkey.c')
-rw-r--r--ssh-vulnkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-vulnkey.c b/ssh-vulnkey.c
index e0e3f4c2f..31d252b43 100644
--- a/ssh-vulnkey.c
+++ b/ssh-vulnkey.c
@@ -105,7 +105,7 @@ do_key(const char *filename, u_long linenum,
105 if (public->type == KEY_RSA1) 105 if (public->type == KEY_RSA1)
106 public->type = KEY_RSA; 106 public->type = KEY_RSA;
107 107
108 blacklist_status = blacklisted_key(public); 108 blacklist_status = blacklisted_key(public, NULL);
109 if (blacklist_status == -1) 109 if (blacklist_status == -1)
110 describe_key(filename, linenum, 110 describe_key(filename, linenum,
111 "Unknown (blacklist file not installed)", key, comment, 0); 111 "Unknown (blacklist file not installed)", key, comment, 0);