diff options
Diffstat (limited to 'auth-rh-rsa.c')
-rw-r--r-- | auth-rh-rsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-rh-rsa.c b/auth-rh-rsa.c index 093461e83..77a043998 100644 --- a/auth-rh-rsa.c +++ b/auth-rh-rsa.c | |||
@@ -47,7 +47,7 @@ auth_rhosts_rsa_key_allowed(struct passwd *pw, char *cuser, char *chost, | |||
47 | char *fp; | 47 | char *fp; |
48 | HostStatus host_status; | 48 | HostStatus host_status; |
49 | 49 | ||
50 | if (blacklisted_key(client_host_key)) { | 50 | if (blacklisted_key(client_host_key) == 1) { |
51 | fp = key_fingerprint(client_host_key, SSH_FP_MD5, SSH_FP_HEX); | 51 | fp = key_fingerprint(client_host_key, SSH_FP_MD5, SSH_FP_HEX); |
52 | if (options.permit_blacklisted_keys) | 52 | if (options.permit_blacklisted_keys) |
53 | logit("Public key %s blacklisted (see " | 53 | logit("Public key %s blacklisted (see " |