comparison svr-auth.c @ 92:2e92778dd162

Auth doesn't timeout after 5 minutes.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 18 Aug 2004 09:14:43 +0000
parents b0316ce64e4b
children 5312ca05ed48
comparison
equal deleted inserted replaced
91:dc68f7624f17 92:2e92778dd162
338 338
339 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_SUCCESS); 339 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_SUCCESS);
340 encrypt_packet(); 340 encrypt_packet();
341 341
342 ses.authstate.authdone = 1; 342 ses.authstate.authdone = 1;
343 ses.connecttimeout = 0;
344
343 345
344 if (ses.authstate.pw->pw_uid == 0) { 346 if (ses.authstate.pw->pw_uid == 0) {
345 ses.allowprivport = 1; 347 ses.allowprivport = 1;
346 } 348 }
347 349