Mercurial > dropbear
diff svr-auth.c @ 940:e9dfb6d15193
Fix auth timeout regression
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 09 Jul 2014 22:02:22 +0800 |
parents | 220f55d540ae |
children | 73ea0dce9a57 c45d65392c1a |
line wrap: on
line diff
--- a/svr-auth.c Wed Jul 09 00:15:20 2014 +0800 +++ b/svr-auth.c Wed Jul 09 22:02:22 2014 +0800 @@ -392,8 +392,7 @@ /* authdone must be set after encrypt_packet() for * delayed-zlib mode */ ses.authstate.authdone = 1; - ses.connect_time = 0; - + svr_ses.connect_time = 0; if (ses.authstate.pw_uid == 0) { ses.allowprivport = 1;