summaryrefslogtreecommitdiff
path: root/auth-rsa.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-05-25 22:46:27 +0000
committerColin Watson <cjwatson@debian.org>2008-05-25 22:46:27 +0000
commitfe3af0a26497234bbae83a25fadf81a78cf2cf66 (patch)
tree3c5dfba54d90cae72f2a300922d13c3f33d5c930 /auth-rsa.c
parent9794c51e6d579ba85cb04f0b720266b65b6ac297 (diff)
update for new blacklisted_key interface
Diffstat (limited to 'auth-rsa.c')
-rw-r--r--auth-rsa.c2
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 "