comparison cli-kex.c @ 1261:770e14154da3 coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 23:20:40 +0800
parents 8291fc87273e
children 56aba7dedbea
comparison
equal deleted inserted replaced
1256:506f7681d0f8 1261:770e14154da3
184 static void ask_to_confirm(unsigned char* keyblob, unsigned int keybloblen, 184 static void ask_to_confirm(unsigned char* keyblob, unsigned int keybloblen,
185 const char* algoname) { 185 const char* algoname) {
186 186
187 char* fp = NULL; 187 char* fp = NULL;
188 FILE *tty = NULL; 188 FILE *tty = NULL;
189 char response = 'z'; 189 int response = 'z';
190 190
191 fp = sign_key_fingerprint(keyblob, keybloblen); 191 fp = sign_key_fingerprint(keyblob, keybloblen);
192 if (cli_opts.always_accept_key) { 192 if (cli_opts.always_accept_key) {
193 dropbear_log(LOG_INFO, "\nHost '%s' key accepted unconditionally.\n(%s fingerprint %s)\n", 193 dropbear_log(LOG_INFO, "\nHost '%s' key accepted unconditionally.\n(%s fingerprint %s)\n",
194 cli_opts.remotehost, 194 cli_opts.remotehost,