summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
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)
1496 1496
1497 for (i = 0; i < options.num_host_key_files; i++) { 1497 for (i = 0; i < options.num_host_key_files; i++) {
1498 key = key_load_private(options.host_key_files[i], "", NULL); 1498 key = key_load_private(options.host_key_files[i], "", NULL);
1499 if (key && blacklisted_key(key)) { 1499 if (key && blacklisted_key(key) == 1) {
1500 char *fp; 1500 char *fp;
1501 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); 1501 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX);
1502 if (options.permit_blacklisted_keys) 1502 if (options.permit_blacklisted_keys)