summaryrefslogtreecommitdiff
path: root/hostfile.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-04-09 20:59:48 +1000
committerDamien Miller <djm@mindrot.org>2003-04-09 20:59:48 +1000
commit996acd2476d9d34b18bb4f99012ea0927458f418 (patch)
tree1420f273ae5395fc0adc9aa25dcd44fe821884a6 /hostfile.c
parent5f16a5ee4e35d36e72f8f72fb2334087cb2ea680 (diff)
*** empty log message ***
Diffstat (limited to 'hostfile.c')
-rw-r--r--hostfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hostfile.c b/hostfile.c
index dcee03448..31147cba1 100644
--- a/hostfile.c
+++ b/hostfile.c
@@ -77,10 +77,10 @@ hostfile_check_key(int bits, Key *key, const char *host, const char *filename, i
77 if (key == NULL || key->type != KEY_RSA1 || key->rsa == NULL) 77 if (key == NULL || key->type != KEY_RSA1 || key->rsa == NULL)
78 return 1; 78 return 1;
79 if (bits != BN_num_bits(key->rsa->n)) { 79 if (bits != BN_num_bits(key->rsa->n)) {
80 log("Warning: %s, line %d: keysize mismatch for host %s: " 80 logit("Warning: %s, line %d: keysize mismatch for host %s: "
81 "actual %d vs. announced %d.", 81 "actual %d vs. announced %d.",
82 filename, linenum, host, BN_num_bits(key->rsa->n), bits); 82 filename, linenum, host, BN_num_bits(key->rsa->n), bits);
83 log("Warning: replace %d with %d in %s, line %d.", 83 logit("Warning: replace %d with %d in %s, line %d.",
84 bits, BN_num_bits(key->rsa->n), filename, linenum); 84 bits, BN_num_bits(key->rsa->n), filename, linenum);
85 } 85 }
86 return 1; 86 return 1;