Mercurial > dropbear
changeset 1518:b222c027a733
group14-sha256 should be higher than group14-sha1
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 18 Feb 2018 22:47:51 +0800 |
parents | 7c7c5326ad73 |
children | 2f4d52b1334e |
files | common-algo.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/common-algo.c Sun Feb 18 22:27:51 2018 +0800 +++ b/common-algo.c Sun Feb 18 22:47:51 2018 +0800 @@ -289,12 +289,12 @@ {"ecdh-sha2-nistp256", 0, &kex_ecdh_nistp256, 1, NULL}, #endif #endif +#if DROPBEAR_DH_GROUP14_SHA256 + {"diffie-hellman-group14-sha256", 0, &kex_dh_group14_sha256, 1, NULL}, +#endif #if DROPBEAR_DH_GROUP14_SHA1 {"diffie-hellman-group14-sha1", 0, &kex_dh_group14_sha1, 1, NULL}, #endif -#if DROPBEAR_DH_GROUP14_SHA256 - {"diffie-hellman-group14-sha256", 0, &kex_dh_group14_sha256, 1, NULL}, -#endif #if DROPBEAR_DH_GROUP1 {"diffie-hellman-group1-sha1", 0, &kex_dh_group1, 1, NULL}, #endif