summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-21 22:39:31 +0800
committerMike Frysinger <vapier@gentoo.org>2015-10-21 22:39:31 +0800
commit5f97d0fbbca06e9320dada5488d268305bd7ac49 (patch)
tree78f24ee4285459a185397db302fbfbb0d6d54f3f /session.h
parentdc01a8edd466d77efbb318608095fd756c68239d (diff)
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.
Diffstat (limited to 'session.h')
-rw-r--r--session.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/session.h b/session.h
index e8409b4..debebab 100644
--- a/session.h
+++ b/session.h
@@ -293,10 +293,9 @@ struct clientsession {
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 */