diff options
Diffstat (limited to 'auth-rsa.c')
-rw-r--r-- | auth-rsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-rsa.c b/auth-rsa.c index 1d277f92a..87e1fbf59 100644 --- a/auth-rsa.c +++ b/auth-rsa.c | |||
@@ -267,7 +267,7 @@ auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey) | |||
267 | "actual %d vs. announced %d.", | 267 | "actual %d vs. announced %d.", |
268 | file, linenum, BN_num_bits(key->rsa->n), bits); | 268 | file, linenum, BN_num_bits(key->rsa->n), bits); |
269 | 269 | ||
270 | if (blacklisted_key(key)) { | 270 | if (blacklisted_key(key) == 1) { |
271 | fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); | 271 | fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); |
272 | if (options.permit_blacklisted_keys) | 272 | if (options.permit_blacklisted_keys) |
273 | logit("Public key %s blacklisted (see " | 273 | logit("Public key %s blacklisted (see " |