commit | 3ccc36b3b74018a49b6924f3328362003861c18b | [log] [tgz] |
---|---|---|
author | Matt Johnston <matt@ucc.asn.au> | Tue Mar 15 23:03:31 2016 +0800 |
committer | Matt Johnston <matt@ucc.asn.au> | Tue Mar 15 23:03:31 2016 +0800 |
tree | 6e3901f4f8daaa31160a81e92e51a490f002e16d | |
parent | e7828bb9113fc4e43a30723d82d7c6187fba08ef [diff] |
Fix truncated type for getc() at confirmation prompt
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 @@ char* fp = NULL; FILE *tty = NULL; - char response = 'z'; + int response = 'z'; fp = sign_key_fingerprint(keyblob, keybloblen); if (cli_opts.always_accept_key) {