summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-30 10:00:53 +1000
committerDamien Miller <djm@mindrot.org>2000-04-30 10:00:53 +1000
commitbd483e76909905f28d1604125f70c7cf8271f66e (patch)
tree4363a925d1f530b444c5726601ecf9efc684c218 /auth1.c
parentc998f9eb7cfb3bfef8c78b0a47bdb6db29a871e8 (diff)
- 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 'auth1.c')
-rw-r--r--auth1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth1.c b/auth1.c
index ae5f1cd84..dedf898e9 100644
--- a/auth1.c
+++ b/auth1.c
@@ -4,7 +4,7 @@
4 */ 4 */
5 5
6#include "includes.h" 6#include "includes.h"
7RCSID("$OpenBSD: auth1.c,v 1.1 2000/04/26 21:28:32 markus Exp $"); 7RCSID("$OpenBSD: auth1.c,v 1.2 2000/04/29 18:11:52 markus Exp $");
8 8
9#include "xmalloc.h" 9#include "xmalloc.h"
10#include "rsa.h" 10#include "rsa.h"
@@ -262,8 +262,8 @@ do_authloop(struct passwd * pw)
262 packet_get_bignum(client_host_key->n, &nlen); 262 packet_get_bignum(client_host_key->n, &nlen);
263 263
264 if (bits != BN_num_bits(client_host_key->n)) 264 if (bits != BN_num_bits(client_host_key->n))
265 error("Warning: keysize mismatch for client_host_key: " 265 log("Warning: keysize mismatch for client_host_key: "
266 "actual %d, announced %d", BN_num_bits(client_host_key->n), bits); 266 "actual %d, announced %d", BN_num_bits(client_host_key->n), bits);
267 packet_integrity_check(plen, (4 + ulen) + 4 + elen + nlen, type); 267 packet_integrity_check(plen, (4 + ulen) + 4 + elen + nlen, type);
268 268
269 authenticated = auth_rhosts_rsa(pw, client_user, client_host_key); 269 authenticated = auth_rhosts_rsa(pw, client_user, client_host_key);