diff options
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r-- | auth2-pubkey.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c index b1e38e5f5..4014444fb 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -258,6 +258,9 @@ user_key_allowed(struct passwd *pw, Key *key) | |||
258 | int success; | 258 | int success; |
259 | char *file; | 259 | char *file; |
260 | 260 | ||
261 | if (reject_blacklisted_key(key, 0) == 1) | ||
262 | return 0; | ||
263 | |||
261 | file = authorized_keys_file(pw); | 264 | file = authorized_keys_file(pw); |
262 | success = user_key_allowed2(pw, key, file); | 265 | success = user_key_allowed2(pw, key, file); |
263 | xfree(file); | 266 | xfree(file); |