diff options
Diffstat (limited to 'hostfile.c')
-rw-r--r-- | hostfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hostfile.c b/hostfile.c index e1c2429bd..bac285da5 100644 --- a/hostfile.c +++ b/hostfile.c | |||
@@ -14,7 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "includes.h" | 16 | #include "includes.h" |
17 | RCSID("$OpenBSD: hostfile.c,v 1.17 2000/04/26 20:56:29 markus Exp $"); | 17 | RCSID("$OpenBSD: hostfile.c,v 1.18 2000/04/29 18:11:52 markus Exp $"); |
18 | 18 | ||
19 | #include "packet.h" | 19 | #include "packet.h" |
20 | #include "match.h" | 20 | #include "match.h" |
@@ -70,10 +70,10 @@ hostfile_check_key(int bits, Key *key, const char *host, const char *filename, i | |||
70 | if (key == NULL || key->type != KEY_RSA || key->rsa == NULL) | 70 | if (key == NULL || key->type != KEY_RSA || key->rsa == NULL) |
71 | return 1; | 71 | return 1; |
72 | if (bits != BN_num_bits(key->rsa->n)) { | 72 | if (bits != BN_num_bits(key->rsa->n)) { |
73 | error("Warning: %s, line %d: keysize mismatch for host %s: " | 73 | log("Warning: %s, line %d: keysize mismatch for host %s: " |
74 | "actual %d vs. announced %d.", | 74 | "actual %d vs. announced %d.", |
75 | filename, linenum, host, BN_num_bits(key->rsa->n), bits); | 75 | filename, linenum, host, BN_num_bits(key->rsa->n), bits); |
76 | error("Warning: replace %d with %d in %s, line %d.", | 76 | log("Warning: replace %d with %d in %s, line %d.", |
77 | bits, BN_num_bits(key->rsa->n), filename, linenum); | 77 | bits, BN_num_bits(key->rsa->n), filename, linenum); |
78 | } | 78 | } |
79 | return 1; | 79 | return 1; |