Mercurial > dropbear
comparison cli-authinteract.c @ 1295:750ec4ec4cbe
Convert #ifdef to #if, other build changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 04 May 2016 15:33:40 +0200 |
parents | aaf576b27a10 |
children | df8d8ec1801c |
comparison
equal
deleted
inserted
replaced
1294:56aba7dedbea | 1295:750ec4ec4cbe |
---|---|
27 #include "dbutil.h" | 27 #include "dbutil.h" |
28 #include "session.h" | 28 #include "session.h" |
29 #include "ssh.h" | 29 #include "ssh.h" |
30 #include "runopts.h" | 30 #include "runopts.h" |
31 | 31 |
32 #ifdef ENABLE_CLI_INTERACT_AUTH | 32 #if DROPBEAR_CLI_INTERACT_AUTH |
33 | 33 |
34 static char* get_response(char* prompt) | 34 static char* get_response(char* prompt) |
35 { | 35 { |
36 FILE* tty = NULL; | 36 FILE* tty = NULL; |
37 char* response = NULL; | 37 char* response = NULL; |
170 cli_ses.interact_request_received = 0; | 170 cli_ses.interact_request_received = 0; |
171 | 171 |
172 TRACE(("leave cli_auth_interactive")) | 172 TRACE(("leave cli_auth_interactive")) |
173 | 173 |
174 } | 174 } |
175 #endif /* ENABLE_CLI_INTERACT_AUTH */ | 175 #endif /* DROPBEAR_CLI_INTERACT_AUTH */ |