summaryrefslogtreecommitdiffhomepage
path: root/session.h
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 /session.h
parentaee1309c91dbeb40f61e13ee3da96cb1b02578da (diff)
DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by default
Diffstat (limited to 'session.h')
-rw-r--r--session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/session.h b/session.h
index 91e306a..6a780fe 100644
--- a/session.h
+++ b/session.h
@@ -233,6 +233,7 @@ typedef enum {
typedef enum {
STATE_NOTHING,
+ USERAUTH_WAIT,
USERAUTH_REQ_SENT,
USERAUTH_FAIL_RCVD,
USERAUTH_SUCCESS_RCVD,
@@ -267,6 +268,7 @@ struct clientsession {
int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD,
for the last type of auth we tried */
+ int ignore_next_auth_response;
#ifdef ENABLE_CLI_INTERACT_AUTH
int auth_interact_failed; /* flag whether interactive auth can still
be used */