comparison common-algo.c @ 746:465fefc4f6e0 kexguess

Put some #ifdef options around first-follows options in case they need to be disabled
author Matt Johnston <matt@ucc.asn.au>
date Wed, 03 Apr 2013 00:43:31 +0800
parents 15999b098cc9
children 077bbe1eb220
comparison
equal deleted inserted replaced
745:15999b098cc9 746:465fefc4f6e0
214 }; 214 };
215 215
216 algo_type sshkex[] = { 216 algo_type sshkex[] = {
217 {"diffie-hellman-group14-sha1", DROPBEAR_KEX_DH_GROUP14, NULL, 1, NULL}, 217 {"diffie-hellman-group14-sha1", DROPBEAR_KEX_DH_GROUP14, NULL, 1, NULL},
218 {"diffie-hellman-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1, NULL}, 218 {"diffie-hellman-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1, NULL},
219 #ifdef USE_KEXGUESS2
219 {KEXGUESS2_ALGO_NAME, KEXGUESS2_ALGO_ID, NULL, 1, NULL}, 220 {KEXGUESS2_ALGO_NAME, KEXGUESS2_ALGO_ID, NULL, 1, NULL},
221 #endif
220 {NULL, 0, NULL, 0, NULL} 222 {NULL, 0, NULL, 0, NULL}
221 }; 223 };
222 224
223 225
224 /* Register the compiled in ciphers. 226 /* Register the compiled in ciphers.