comparison dropbearkey.c @ 1458:bdd3802c8ac6

fix format Argument no. 3 nominally inconsistent with format (int vs. unsigned int)
author Francois Perrad <francois.perrad@gadz.org>
date Sat, 12 Aug 2017 20:51:58 +0200
parents 4f8eb331174f
children d32bcb5c557d
comparison
equal deleted inserted replaced
1448:7dddc4dd7063 1458:bdd3802c8ac6
239 239
240 check_signkey_bits(keytype, bits);; 240 check_signkey_bits(keytype, bits);;
241 } 241 }
242 242
243 genbits = signkey_generate_get_bits(keytype, bits); 243 genbits = signkey_generate_get_bits(keytype, bits);
244 fprintf(stderr, "Generating %d bit %s key, this may take a while...\n", genbits, typetext); 244 fprintf(stderr, "Generating %u bit %s key, this may take a while...\n", genbits, typetext);
245 if (signkey_generate(keytype, bits, filename, 0) == DROPBEAR_FAILURE) 245 if (signkey_generate(keytype, bits, filename, 0) == DROPBEAR_FAILURE)
246 { 246 {
247 dropbear_exit("Failed to generate key.\n"); 247 dropbear_exit("Failed to generate key.\n");
248 } 248 }
249 249