comparison dropbearconvert.c @ 1295:750ec4ec4cbe

Convert #ifdef to #if, other build changes
author Matt Johnston <matt@ucc.asn.au>
date Wed, 04 May 2016 15:33:40 +0200
parents 220f55d540ae
children
comparison
equal deleted inserted replaced
1294:56aba7dedbea 1295:750ec4ec4cbe
51 "Example:\n" 51 "Example:\n"
52 "dropbearconvert openssh dropbear /etc/ssh/ssh_host_rsa_key /etc/dropbear_rsa_host_key\n", 52 "dropbearconvert openssh dropbear /etc/ssh/ssh_host_rsa_key /etc/dropbear_rsa_host_key\n",
53 progname); 53 progname);
54 } 54 }
55 55
56 #if defined(DBMULTI_dropbearconvert) || !defined(DROPBEAR_MULTI) 56 #if defined(DBMULTI_dropbearconvert) || !DROPBEAR_MULTI
57 #if defined(DBMULTI_dropbearconvert) && defined(DROPBEAR_MULTI) 57 #if defined(DBMULTI_dropbearconvert) && DROPBEAR_MULTI
58 int dropbearconvert_main(int argc, char ** argv) { 58 int dropbearconvert_main(int argc, char ** argv) {
59 #else 59 #else
60 int main(int argc, char ** argv) { 60 int main(int argc, char ** argv) {
61 #endif 61 #endif
62 62
65 const char* outfile; 65 const char* outfile;
66 66
67 crypto_init(); 67 crypto_init();
68 seedrandom(); 68 seedrandom();
69 69
70 #ifdef DEBUG_TRACE 70 #if DEBUG_TRACE
71 /* It's hard for it to get in the way _too_ much */ 71 /* It's hard for it to get in the way _too_ much */
72 debug_trace = 1; 72 debug_trace = 1;
73 #endif 73 #endif
74 74
75 /* get the commandline options */ 75 /* get the commandline options */