mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Fix truncated type for getc() at confirmation prompt
This commit is contained in:
parent
e7828bb911
commit
3ccc36b3b7
@ -186,7 +186,7 @@ static void ask_to_confirm(unsigned char* keyblob, unsigned int keybloblen,
|
|||||||
|
|
||||||
char* fp = NULL;
|
char* fp = NULL;
|
||||||
FILE *tty = NULL;
|
FILE *tty = NULL;
|
||||||
char response = 'z';
|
int response = 'z';
|
||||||
|
|
||||||
fp = sign_key_fingerprint(keyblob, keybloblen);
|
fp = sign_key_fingerprint(keyblob, keybloblen);
|
||||||
if (cli_opts.always_accept_key) {
|
if (cli_opts.always_accept_key) {
|
||||||
|
Loading…
Reference in New Issue
Block a user