diff options
Diffstat (limited to 'auth2-hostbased.c')
-rw-r--r-- | auth2-hostbased.c | 2 |
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 " |