comparison dropbearkey.c @ 1249:c6346c63281b

refactor indentation with hard tab
author Francois Perrad <francois.perrad@gadz.org>
date Thu, 31 Dec 2015 15:59:01 +0100
parents 6fb4c010c448
children 2bb4c662d1c2
comparison
equal deleted inserted replaced
1221:f7d565054e5f 1249:c6346c63281b
236 fprintf(stderr, "Bits must be an integer\n"); 236 fprintf(stderr, "Bits must be an integer\n");
237 exit(EXIT_FAILURE); 237 exit(EXIT_FAILURE);
238 } 238 }
239 239
240 check_signkey_bits(keytype, bits);; 240 check_signkey_bits(keytype, bits);;
241 } 241 }
242 242
243 fprintf(stderr, "Generating key, this may take a while...\n"); 243 fprintf(stderr, "Generating key, this may take a while...\n");
244 if (signkey_generate(keytype, bits, filename) == DROPBEAR_FAILURE) 244 if (signkey_generate(keytype, bits, filename) == DROPBEAR_FAILURE)
245 { 245 {
246 dropbear_exit("Failed to generate key.\n"); 246 dropbear_exit("Failed to generate key.\n");
247 } 247 }
248 248
249 printpubfile(filename); 249 printpubfile(filename);
250 250
251 return EXIT_SUCCESS; 251 return EXIT_SUCCESS;
252 } 252 }