Fix truncated type for getc() at confirmation prompt

This commit is contained in:
Matt Johnston 2016-03-15 23:03:31 +08:00
parent e7828bb911
commit 3ccc36b3b7

View File

@ -186,7 +186,7 @@ static void ask_to_confirm(unsigned char* keyblob, unsigned int keybloblen,
char* fp = NULL;
FILE *tty = NULL;
char response = 'z';
int response = 'z';
fp = sign_key_fingerprint(keyblob, keybloblen);
if (cli_opts.always_accept_key) {