diff --git a/cli-kex.c b/cli-kex.c index 077fec9..936b95c 100644 --- a/cli-kex.c +++ b/cli-kex.c @@ -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) {