summaryrefslogtreecommitdiff
path: root/auth2-hostbased.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-05-25 22:46:27 +0000
committerColin Watson <cjwatson@debian.org>2008-05-25 22:46:27 +0000
commitfe3af0a26497234bbae83a25fadf81a78cf2cf66 (patch)
tree3c5dfba54d90cae72f2a300922d13c3f33d5c930 /auth2-hostbased.c
parent9794c51e6d579ba85cb04f0b720266b65b6ac297 (diff)
update for new blacklisted_key interface
Diffstat (limited to 'auth2-hostbased.c')
-rw-r--r--auth2-hostbased.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth2-hostbased.c b/auth2-hostbased.c
index a0ee3060a..8e3d5f530 100644
--- a/auth2-hostbased.c
+++ b/auth2-hostbased.c
@@ -147,7 +147,7 @@ hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost,
147 HostStatus host_status; 147 HostStatus host_status;
148 int len; 148 int len;
149 149
150 if (blacklisted_key(key)) { 150 if (blacklisted_key(key) == 1) {
151 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); 151 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX);
152 if (options.permit_blacklisted_keys) 152 if (options.permit_blacklisted_keys)
153 logit("Public key %s blacklisted (see " 153 logit("Public key %s blacklisted (see "