Mercurial > dropbear
comparison session.h @ 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 | c19acba28590 |
children | cbc73a5aefb0 |
comparison
equal
deleted
inserted
replaced
882:f05107560aa9 | 883:ff597bf2cfb0 |
---|---|
231 KEXDONE | 231 KEXDONE |
232 } cli_kex_state; | 232 } cli_kex_state; |
233 | 233 |
234 typedef enum { | 234 typedef enum { |
235 STATE_NOTHING, | 235 STATE_NOTHING, |
236 USERAUTH_WAIT, | |
236 USERAUTH_REQ_SENT, | 237 USERAUTH_REQ_SENT, |
237 USERAUTH_FAIL_RCVD, | 238 USERAUTH_FAIL_RCVD, |
238 USERAUTH_SUCCESS_RCVD, | 239 USERAUTH_SUCCESS_RCVD, |
239 SESSION_RUNNING | 240 SESSION_RUNNING |
240 } cli_state; | 241 } cli_state; |
265 | 266 |
266 int winchange; /* Set to 1 when a windowchange signal happens */ | 267 int winchange; /* Set to 1 when a windowchange signal happens */ |
267 | 268 |
268 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, | 269 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, |
269 for the last type of auth we tried */ | 270 for the last type of auth we tried */ |
271 int ignore_next_auth_response; | |
270 #ifdef ENABLE_CLI_INTERACT_AUTH | 272 #ifdef ENABLE_CLI_INTERACT_AUTH |
271 int auth_interact_failed; /* flag whether interactive auth can still | 273 int auth_interact_failed; /* flag whether interactive auth can still |
272 be used */ | 274 be used */ |
273 int interact_request_received; /* flag whether we've received an | 275 int interact_request_received; /* flag whether we've received an |
274 info request from the server for | 276 info request from the server for |