diff options
author | Damien Miller <djm@mindrot.org> | 2000-04-30 02:00:53 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-04-30 02:00:53 +0200 |
commit | bd483e76909905f28d1604125f70c7cf8271f66e (patch) | |
tree | 4363a925d1f530b444c5726601ecf9efc684c218 /hostfile.c | |
parent | clarify requirement for egd (diff) | |
download | openssh-bd483e76909905f28d1604125f70c7cf8271f66e.tar.xz openssh-bd483e76909905f28d1604125f70c7cf8271f66e.zip |
- More OpenBSD updates:
[session.c]
- don't call chan_write_failed() if we are not writing
[auth-rsa.c auth1.c authfd.c hostfile.c ssh-agent.c]
- keysize warnings error() -> log()
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 @@ */ #include "includes.h" -RCSID("$OpenBSD: hostfile.c,v 1.17 2000/04/26 20:56:29 markus Exp $"); +RCSID("$OpenBSD: hostfile.c,v 1.18 2000/04/29 18:11:52 markus Exp $"); #include "packet.h" #include "match.h" @@ -70,10 +70,10 @@ hostfile_check_key(int bits, Key *key, const char *host, const char *filename, i if (key == NULL || key->type != KEY_RSA || key->rsa == NULL) return 1; if (bits != BN_num_bits(key->rsa->n)) { - error("Warning: %s, line %d: keysize mismatch for host %s: " + log("Warning: %s, line %d: keysize mismatch for host %s: " "actual %d vs. announced %d.", filename, linenum, host, BN_num_bits(key->rsa->n), bits); - error("Warning: replace %d with %d in %s, line %d.", + log("Warning: replace %d with %d in %s, line %d.", bits, BN_num_bits(key->rsa->n), filename, linenum); } return 1; |