diff options
author | Colin Watson <cjwatson@debian.org> | 2008-05-25 22:46:27 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-05-25 22:46:27 +0000 |
commit | fe3af0a26497234bbae83a25fadf81a78cf2cf66 (patch) | |
tree | 3c5dfba54d90cae72f2a300922d13c3f33d5c930 /auth2-pubkey.c | |
parent | 9794c51e6d579ba85cb04f0b720266b65b6ac297 (diff) |
update for new blacklisted_key interface
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r-- | auth2-pubkey.c | 2 |
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 " |