Mercurial > dropbear
diff common-session.c @ 940:e9dfb6d15193
Fix auth timeout regression
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 09 Jul 2014 22:02:22 +0800 |
parents | a0819ecfee0b |
children | 5daedffd0769 |
line wrap: on
line diff
--- a/common-session.c Wed Jul 09 00:15:20 2014 +0800 +++ b/common-session.c Wed Jul 09 22:02:22 2014 +0800 @@ -60,7 +60,6 @@ ses.maxfd = MAX(sock_in, sock_out); now = monotonic_now(); - ses.connect_time = now; ses.last_packet_time_keepalive_recv = now; ses.last_packet_time_idle = now; ses.last_packet_time_any_sent = 0; @@ -415,10 +414,6 @@ time_t now; now = monotonic_now(); - if (now - ses.connect_time >= AUTH_TIMEOUT) { - dropbear_close("Timeout before auth"); - } - /* we can't rekey if we haven't done remote ident exchange yet */ if (ses.remoteident == NULL) { return;