summaryrefslogtreecommitdiffhomepage
path: root/cli-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2014-01-17 21:39:27 +0800
committerMatt Johnston <matt@ucc.asn.au>2014-01-17 21:39:27 +0800
commit61cecbb3371839a824ff536338471d4b888aacf6 (patch)
treeaa2d4edcba8ea8af4d46158142c27b1816f0fa55 /cli-session.c
parentaee1309c91dbeb40f61e13ee3da96cb1b02578da (diff)
DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by default
Diffstat (limited to 'cli-session.c')
-rw-r--r--cli-session.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli-session.c b/cli-session.c
index 2a335d4..c71d859 100644
--- a/cli-session.c
+++ b/cli-session.c
@@ -228,6 +228,10 @@ static void cli_sessionloop() {
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) {