mirror of
https://github.com/clearml/dropbear
synced 2025-02-12 07:25:30 +00:00
Turn name and instruction local variables into char *
This commit is contained in:
parent
bfd730aa4c
commit
1c2a1838fc
@ -66,8 +66,8 @@ static char* get_response(char* prompt)
|
|||||||
|
|
||||||
void recv_msg_userauth_info_request() {
|
void recv_msg_userauth_info_request() {
|
||||||
|
|
||||||
unsigned char *name = NULL;
|
char *name = NULL;
|
||||||
unsigned char *instruction = NULL;
|
char *instruction = NULL;
|
||||||
unsigned int num_prompts = 0;
|
unsigned int num_prompts = 0;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
@ -84,8 +84,8 @@ void recv_msg_userauth_info_request() {
|
|||||||
}
|
}
|
||||||
cli_ses.interact_request_received = 1;
|
cli_ses.interact_request_received = 1;
|
||||||
|
|
||||||
name = buf_getstring(ses.payload, NULL);
|
name = (char *)buf_getstring(ses.payload, NULL);
|
||||||
instruction = buf_getstring(ses.payload, NULL);
|
instruction = (char *)buf_getstring(ses.payload, NULL);
|
||||||
|
|
||||||
/* language tag */
|
/* language tag */
|
||||||
buf_eatstring(ses.payload);
|
buf_eatstring(ses.payload);
|
||||||
|
Loading…
Reference in New Issue
Block a user