summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-09-02 07:43:42 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-09-02 07:43:42 +0000
commit1cf8d6b631a1453359d7b7bb38c724a152fff48a (patch)
treed38a11ea96893f74b08e8b40e6018697cfc04ec9 /common-algo.c
parentf724ece38670399a1c17810fe223b28933d46966 (diff)
Change the preferred algorithm order
--HG-- extra : convert_revision : ae8391fa550707447ac60d661eb07bab82e4b53f
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/common-algo.c b/common-algo.c
index 71b1c6a..f75c144 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -84,13 +84,6 @@ const struct dropbear_hash dropbear_nohash =
/* The following map ssh names to internal values */
algo_type sshciphers[] = {
-#ifdef DROPBEAR_TWOFISH256_CBC
- {"twofish256-cbc", 0, (void*)&dropbear_twofish256, 1},
- {"twofish-cbc", 0, (void*)&dropbear_twofish256, 1},
-#endif
-#ifdef DROPBEAR_TWOFISH128_CBC
- {"twofish128-cbc", 0, (void*)&dropbear_twofish128, 1},
-#endif
#ifdef DROPBEAR_AES128_CBC
{"aes128-cbc", 0, (void*)&dropbear_aes128, 1},
#endif
@@ -100,6 +93,13 @@ algo_type sshciphers[] = {
#ifdef DROPBEAR_AES256_CBC
{"aes256-cbc", 0, (void*)&dropbear_aes256, 1},
#endif
+#ifdef DROPBEAR_TWOFISH256_CBC
+ {"twofish256-cbc", 0, (void*)&dropbear_twofish256, 1},
+ {"twofish-cbc", 0, (void*)&dropbear_twofish256, 1},
+#endif
+#ifdef DROPBEAR_TWOFISH128_CBC
+ {"twofish128-cbc", 0, (void*)&dropbear_twofish128, 1},
+#endif
#ifdef DROPBEAR_BLOWFISH_CBC
{"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1},
#endif