summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 2886f1275..8cb477662 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -254,6 +254,9 @@ user_key_allowed(struct passwd *pw, Key *key)
254 int success; 254 int success;
255 char *file; 255 char *file;
256 256
257 if (reject_blacklisted_key(key, 0) == 1)
258 return 0;
259
257 file = authorized_keys_file(pw); 260 file = authorized_keys_file(pw);
258 success = user_key_allowed2(pw, key, file); 261 success = user_key_allowed2(pw, key, file);
259 xfree(file); 262 xfree(file);