diff session.h @ 249:efbaf6b03837

added keyboard-interactive client support
author Matt Johnston <matt@ucc.asn.au>
date Tue, 20 Sep 2005 17:35:21 +0000
parents aad4b3f58556
children a01c0c8e543a
line wrap: on
line diff
--- a/session.h	Tue Sep 20 08:59:46 2005 +0000
+++ b/session.h	Tue Sep 20 17:35:21 2005 +0000
@@ -226,6 +226,13 @@
 
 	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 */