summaryrefslogtreecommitdiffhomepage
path: root/cli-kex.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-15 23:03:31 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-15 23:03:31 +0800
commit3ccc36b3b74018a49b6924f3328362003861c18b (patch)
tree6e3901f4f8daaa31160a81e92e51a490f002e16d /cli-kex.c
parente7828bb9113fc4e43a30723d82d7c6187fba08ef (diff)
Fix truncated type for getc() at confirmation prompt
Diffstat (limited to 'cli-kex.c')
-rw-r--r--cli-kex.c2
1 files changed, 1 insertions, 1 deletions
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) {