summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index cf911968a..4976a5a8a 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -274,7 +274,7 @@ user_key_allowed(struct passwd *pw, Key *key)
274 int success; 274 int success;
275 char *file; 275 char *file;
276 276
277 if (blacklisted_key(key)) { 277 if (blacklisted_key(key) == 1) {
278 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); 278 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX);
279 if (options.permit_blacklisted_keys) 279 if (options.permit_blacklisted_keys)
280 logit("Public key %s blacklisted (see " 280 logit("Public key %s blacklisted (see "