From 3ccc36b3b74018a49b6924f3328362003861c18b Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 15 Mar 2016 23:03:31 +0800 Subject: Fix truncated type for getc() at confirmation prompt --- cli-kex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli-kex.c') 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) { -- cgit v1.2.3