mirror of
https://github.com/clearml/dropbear
synced 2025-05-20 03:07:47 +00:00
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.
This commit is contained in:
parent
dc01a8edd4
commit
5f97d0fbbc
@ -293,10 +293,9 @@ struct clientsession {
|
|||||||
int interact_request_received; /* flag whether we've received an
|
int interact_request_received; /* flag whether we've received an
|
||||||
info request from the server for
|
info request from the server for
|
||||||
interactive auth.*/
|
interactive auth.*/
|
||||||
|
#endif
|
||||||
int cipher_none_after_auth; /* Set to 1 if the user requested "none"
|
int cipher_none_after_auth; /* Set to 1 if the user requested "none"
|
||||||
auth */
|
auth */
|
||||||
#endif
|
|
||||||
sign_key *lastprivkey;
|
sign_key *lastprivkey;
|
||||||
|
|
||||||
int retval; /* What the command exit status was - we emulate it */
|
int retval; /* What the command exit status was - we emulate it */
|
||||||
|
Loading…
Reference in New Issue
Block a user