Mercurial > dropbear
comparison common-algo.c @ 595:2895626d864f
Add diffie-hellman-group14-sha1 KEX method
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 24 Feb 2011 12:42:42 +0000 |
parents | a98a2138364a |
children | 03073a27abb3 4edea9f363d0 |
comparison
equal
deleted
inserted
replaced
594:a98a2138364a | 595:2895626d864f |
---|---|
192 {NULL, 0, NULL, 0, NULL} | 192 {NULL, 0, NULL, 0, NULL} |
193 }; | 193 }; |
194 | 194 |
195 algo_type sshkex[] = { | 195 algo_type sshkex[] = { |
196 {"diffie-hellman-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1, NULL}, | 196 {"diffie-hellman-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1, NULL}, |
197 {"diffie-hellman-group14-sha1", DROPBEAR_KEX_DH_GROUP14, NULL, 1, NULL}, | |
197 {NULL, 0, NULL, 0, NULL} | 198 {NULL, 0, NULL, 0, NULL} |
198 }; | 199 }; |
199 | 200 |
200 | 201 |
201 /* Register the compiled in ciphers. | 202 /* Register the compiled in ciphers. |