Mercurial > dropbear
comparison common-algo.c @ 745:15999b098cc9 kexguess
Don't usually need to recalculate dh_e for the repeated kexdh_init packet
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 03 Apr 2013 00:32:55 +0800 |
parents | eafdf8b363f5 |
children | 465fefc4f6e0 |
comparison
equal
deleted
inserted
replaced
744:504f33c684b5 | 745:15999b098cc9 |
---|---|
212 #endif | 212 #endif |
213 {NULL, 0, NULL, 0, NULL} | 213 {NULL, 0, NULL, 0, NULL} |
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-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1, NULL}, | 218 {"diffie-hellman-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1, NULL}, |
218 {"diffie-hellman-group14-sha1", DROPBEAR_KEX_DH_GROUP14, NULL, 1, NULL}, | |
219 {KEXGUESS2_ALGO_NAME, KEXGUESS2_ALGO_ID, NULL, 1, NULL}, | 219 {KEXGUESS2_ALGO_NAME, KEXGUESS2_ALGO_ID, NULL, 1, NULL}, |
220 {NULL, 0, NULL, 0, NULL} | 220 {NULL, 0, NULL, 0, NULL} |
221 }; | 221 }; |
222 | 222 |
223 | 223 |