diff cli-kex.c @ 1257:8291fc87273e

Fix truncated type for getc() at confirmation prompt
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 23:03:31 +0800
parents 7fd1211a1f63
children 56aba7dedbea
line wrap: on
line diff
--- a/cli-kex.c	Tue Mar 15 22:40:15 2016 +0800
+++ b/cli-kex.c	Tue Mar 15 23:03:31 2016 +0800
@@ -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) {