[patch] fix build when ENABLE_CLI_INTERACT_AUTH is disabled
Mike Frysinger
vapier at gentoo.org
Sat Oct 10 07:23:32 AWST 2015
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.
-mike
cli-session.c: In function 'cli_session_init':
cli-session.c:171:9: error: 'struct clientsession' has no member named 'cipher_none_after_auth'
cli_ses.cipher_none_after_auth = 0;
--- a/session.h Tue Sep 29 22:19:11 2015 +0800
+++ b/session.h Fri Oct 09 19:21:35 2015 -0400
@@ -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 */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20151009/20dc6f9b/attachment.sig
More information about the Dropbear
mailing list