diff 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
line wrap: on
line diff
--- a/common-algo.c	Wed Apr 03 00:32:05 2013 +0800
+++ b/common-algo.c	Wed Apr 03 00:32:55 2013 +0800
@@ -214,8 +214,8 @@
 };
 
 algo_type sshkex[] = {
+	{"diffie-hellman-group14-sha1", DROPBEAR_KEX_DH_GROUP14, NULL, 1, NULL},
 	{"diffie-hellman-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1, NULL},
-	{"diffie-hellman-group14-sha1", DROPBEAR_KEX_DH_GROUP14, NULL, 1, NULL},
 	{KEXGUESS2_ALGO_NAME, KEXGUESS2_ALGO_ID, NULL, 1, NULL},
 	{NULL, 0, NULL, 0, NULL}
 };