diff 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
line wrap: on
line diff
--- a/cli-session.c	Wed Dec 11 21:50:33 2013 +0800
+++ b/cli-session.c	Fri Jan 17 21:39:27 2014 +0800
@@ -228,6 +228,10 @@
 			cli_ses.state = USERAUTH_REQ_SENT;
 			TRACE(("leave cli_sessionloop: sent userauth methods req"))
 			return;
+
+		case USERAUTH_REQ_SENT:
+			TRACE(("leave cli_sessionloop: waiting, req_sent"))
+			return;
 			
 		case USERAUTH_FAIL_RCVD:
 			if (cli_auth_try() == DROPBEAR_FAILURE) {