comparison cli-runopts.c @ 852:7540c0822374 ecc

Various cleanups and fixes for warnings
author Matt Johnston <matt@ucc.asn.au>
date Tue, 12 Nov 2013 23:02:32 +0800
parents c936abfa9935
children c19acba28590
comparison
equal deleted inserted replaced
851:c1c1b43f78c2 852:7540c0822374
448 } 448 }
449 449
450 #ifdef ENABLE_CLI_PUBKEY_AUTH 450 #ifdef ENABLE_CLI_PUBKEY_AUTH
451 static void loadidentityfile(const char* filename) { 451 static void loadidentityfile(const char* filename) {
452 sign_key *key; 452 sign_key *key;
453 int keytype; 453 enum signkey_type keytype;
454 454
455 key = new_sign_key(); 455 key = new_sign_key();
456 keytype = DROPBEAR_SIGNKEY_ANY; 456 keytype = DROPBEAR_SIGNKEY_ANY;
457 if ( readhostkey(filename, key, &keytype) != DROPBEAR_SUCCESS ) { 457 if ( readhostkey(filename, key, &keytype) != DROPBEAR_SUCCESS ) {
458 fprintf(stderr, "Failed loading keyfile '%s'\n", filename); 458 fprintf(stderr, "Failed loading keyfile '%s'\n", filename);