summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/session.h b/session.h
index 2dbc7f8..a4ad45f 100644
--- a/session.h
+++ b/session.h
@@ -226,6 +226,13 @@ struct clientsession {
int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD,
for the last type of auth we tried */
+#ifdef ENABLE_CLI_INTERACT_AUTH
+ int auth_interact_failed; /* flag whether interactive auth can still
+ be used */
+ int interact_request_received; /* flag whether we've received an
+ info request from the server for
+ interactive auth.*/
+#endif
struct SignKeyList *lastprivkey;
int retval; /* What the command exit status was - we emulate it */