diff options
author | Colin Watson <cjwatson@debian.org> | 2008-05-25 22:46:27 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-05-25 22:46:27 +0000 |
commit | fe3af0a26497234bbae83a25fadf81a78cf2cf66 (patch) | |
tree | 3c5dfba54d90cae72f2a300922d13c3f33d5c930 /auth-rh-rsa.c | |
parent | 9794c51e6d579ba85cb04f0b720266b65b6ac297 (diff) |
update for new blacklisted_key interface
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 " |