changeset 1155:80b45616e1f3

fix build when ENABLE_CLI_INTERACT_AUTH is disabled The session.h defines clientsession.cipher_none_after_auth only when ENABLE_CLI_INTERACT_AUTH is defined, but cli-session.c will always try to set that member. export cipher_none_after_auth all the time.
author Mike Frysinger <vapier@gentoo.org>
date Wed, 21 Oct 2015 22:39:31 +0800
parents b1fabf797bd3
children a8f4dade70e5
files session.h
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/session.h	Wed Oct 21 22:08:47 2015 +0800
+++ b/session.h	Wed Oct 21 22:39:31 2015 +0800
@@ -293,10 +293,9 @@
 	int interact_request_received; /* flag whether we've received an 
 									  info request from the server for
 									  interactive auth.*/
-
+#endif
 	int cipher_none_after_auth; /* Set to 1 if the user requested "none"
 								   auth */
-#endif
 	sign_key *lastprivkey;
 
 	int retval; /* What the command exit status was - we emulate it */