Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
939:a0819ecfee0b | 940:e9dfb6d15193 |
---|---|
390 encrypt_packet(); | 390 encrypt_packet(); |
391 | 391 |
392 /* authdone must be set after encrypt_packet() for | 392 /* authdone must be set after encrypt_packet() for |
393 * delayed-zlib mode */ | 393 * delayed-zlib mode */ |
394 ses.authstate.authdone = 1; | 394 ses.authstate.authdone = 1; |
395 ses.connect_time = 0; | 395 svr_ses.connect_time = 0; |
396 | |
397 | 396 |
398 if (ses.authstate.pw_uid == 0) { | 397 if (ses.authstate.pw_uid == 0) { |
399 ses.allowprivport = 1; | 398 ses.allowprivport = 1; |
400 } | 399 } |
401 | 400 |