diff options
author | Matt Johnston <matt@ucc.asn.au> | 2016-03-15 23:03:31 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-15 23:03:31 +0800 |
commit | 3ccc36b3b74018a49b6924f3328362003861c18b (patch) | |
tree | 6e3901f4f8daaa31160a81e92e51a490f002e16d /cli-kex.c | |
parent | e7828bb9113fc4e43a30723d82d7c6187fba08ef (diff) |
Fix truncated type for getc() at confirmation prompt
Diffstat (limited to 'cli-kex.c')
-rw-r--r-- | cli-kex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |