Mercurial > dropbear
comparison svr-auth.c @ 989:73ea0dce9a57 pam
Merge up to date
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 23 Jan 2015 21:38:47 +0800 |
parents | bae0b34bc059 e9dfb6d15193 |
children |
comparison
equal
deleted
inserted
replaced
925:bae0b34bc059 | 989:73ea0dce9a57 |
---|---|
399 encrypt_packet(); | 399 encrypt_packet(); |
400 | 400 |
401 /* authdone must be set after encrypt_packet() for | 401 /* authdone must be set after encrypt_packet() for |
402 * delayed-zlib mode */ | 402 * delayed-zlib mode */ |
403 ses.authstate.authdone = 1; | 403 ses.authstate.authdone = 1; |
404 ses.connect_time = 0; | 404 svr_ses.connect_time = 0; |
405 | |
406 | 405 |
407 if (ses.authstate.pw_uid == 0) { | 406 if (ses.authstate.pw_uid == 0) { |
408 ses.allowprivport = 1; | 407 ses.allowprivport = 1; |
409 } | 408 } |
410 | 409 |