mirror of
https://github.com/clearml/dropbear
synced 2025-03-04 02:57:46 +00:00
Change the preferred algorithm order
--HG-- extra : convert_revision : ae8391fa550707447ac60d661eb07bab82e4b53f
This commit is contained in:
parent
f724ece386
commit
1cf8d6b631
@ -84,13 +84,6 @@ const struct dropbear_hash dropbear_nohash =
|
|||||||
/* The following map ssh names to internal values */
|
/* The following map ssh names to internal values */
|
||||||
|
|
||||||
algo_type sshciphers[] = {
|
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
|
#ifdef DROPBEAR_AES128_CBC
|
||||||
{"aes128-cbc", 0, (void*)&dropbear_aes128, 1},
|
{"aes128-cbc", 0, (void*)&dropbear_aes128, 1},
|
||||||
#endif
|
#endif
|
||||||
@ -100,6 +93,13 @@ algo_type sshciphers[] = {
|
|||||||
#ifdef DROPBEAR_AES256_CBC
|
#ifdef DROPBEAR_AES256_CBC
|
||||||
{"aes256-cbc", 0, (void*)&dropbear_aes256, 1},
|
{"aes256-cbc", 0, (void*)&dropbear_aes256, 1},
|
||||||
#endif
|
#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
|
#ifdef DROPBEAR_BLOWFISH_CBC
|
||||||
{"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1},
|
{"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1},
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user