comparison cli-session.c @ 883:ff597bf2cfb0

DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by default
author Matt Johnston <matt@ucc.asn.au>
date Fri, 17 Jan 2014 21:39:27 +0800
parents 220f55d540ae
children bae0b34bc059 4ad38e223ccd
comparison
equal deleted inserted replaced
882:f05107560aa9 883:ff597bf2cfb0
226 send_msg_service_request(SSH_SERVICE_USERAUTH); 226 send_msg_service_request(SSH_SERVICE_USERAUTH);
227 cli_auth_getmethods(); 227 cli_auth_getmethods();
228 cli_ses.state = USERAUTH_REQ_SENT; 228 cli_ses.state = USERAUTH_REQ_SENT;
229 TRACE(("leave cli_sessionloop: sent userauth methods req")) 229 TRACE(("leave cli_sessionloop: sent userauth methods req"))
230 return; 230 return;
231
232 case USERAUTH_REQ_SENT:
233 TRACE(("leave cli_sessionloop: waiting, req_sent"))
234 return;
231 235
232 case USERAUTH_FAIL_RCVD: 236 case USERAUTH_FAIL_RCVD:
233 if (cli_auth_try() == DROPBEAR_FAILURE) { 237 if (cli_auth_try() == DROPBEAR_FAILURE) {
234 dropbear_exit("No auth methods could be used."); 238 dropbear_exit("No auth methods could be used.");
235 } 239 }