From 3ccc36b3b74018a49b6924f3328362003861c18b Mon Sep 17 00:00:00 2001 From: Matt Johnston <matt@ucc.asn.au> Date: Tue, 15 Mar 2016 23:03:31 +0800 Subject: [PATCH] Fix truncated type for getc() at confirmation prompt --- cli-kex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli-kex.c b/cli-kex.c index 077fec90..936b95cc 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) { -- GitLab