From fe3af0a26497234bbae83a25fadf81a78cf2cf66 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 25 May 2008 22:46:27 +0000 Subject: update for new blacklisted_key interface --- sshd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index 1d2769a56..df025906f 100644 --- a/sshd.c +++ b/sshd.c @@ -1496,7 +1496,7 @@ main(int ac, char **av) for (i = 0; i < options.num_host_key_files; i++) { key = key_load_private(options.host_key_files[i], "", NULL); - if (key && blacklisted_key(key)) { + if (key && blacklisted_key(key) == 1) { char *fp; fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); if (options.permit_blacklisted_keys) -- cgit v1.2.3