diff options
Diffstat (limited to 'auth-rh-rsa.c')
-rw-r--r-- | auth-rh-rsa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/auth-rh-rsa.c b/auth-rh-rsa.c index eca750275..20ee7c6c4 100644 --- a/auth-rh-rsa.c +++ b/auth-rh-rsa.c | |||
@@ -44,6 +44,9 @@ auth_rhosts_rsa_key_allowed(struct passwd *pw, char *cuser, char *chost, | |||
44 | { | 44 | { |
45 | HostStatus host_status; | 45 | HostStatus host_status; |
46 | 46 | ||
47 | if (reject_blacklisted_key(client_host_key, 0) == 1) | ||
48 | return 0; | ||
49 | |||
47 | /* Check if we would accept it using rhosts authentication. */ | 50 | /* Check if we would accept it using rhosts authentication. */ |
48 | if (!auth_rhosts(pw, cuser)) | 51 | if (!auth_rhosts(pw, cuser)) |
49 | return 0; | 52 | return 0; |