diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-10-31 22:49:15 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-10-31 22:49:15 +0800 |
commit | 814ab77538b8023f3ede270fcd14da7368913554 (patch) | |
tree | 46cd1cbe17aef1b366651da469458e884913256f /common-algo.c | |
parent | 45bd0edae52c07daa2d54ca7f7c0a57d51130791 (diff) |
Default to some larger key sizes
--HG--
branch : ecc
Diffstat (limited to 'common-algo.c')
-rw-r--r-- | common-algo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common-algo.c b/common-algo.c index a8d9669..8076358 100644 --- a/common-algo.c +++ b/common-algo.c @@ -246,14 +246,14 @@ static struct dropbear_kex kex_ecdh_nistp521 = {NULL, 0, &ecc_curve_nistp521, &s algo_type sshkex[] = { #ifdef DROPBEAR_ECDH -#ifdef DROPBEAR_ECC_256 - {"ecdh-sha2-nistp256", 0, &kex_ecdh_nistp256, 1, NULL}, +#ifdef DROPBEAR_ECC_521 + {"ecdh-sha2-nistp521", 0, &kex_ecdh_nistp521, 1, NULL}, #endif #ifdef DROPBEAR_ECC_384 {"ecdh-sha2-nistp384", 0, &kex_ecdh_nistp384, 1, NULL}, #endif -#ifdef DROPBEAR_ECC_521 - {"ecdh-sha2-nistp521", 0, &kex_ecdh_nistp521, 1, NULL}, +#ifdef DROPBEAR_ECC_256 + {"ecdh-sha2-nistp256", 0, &kex_ecdh_nistp256, 1, NULL}, #endif #endif {"diffie-hellman-group1-sha1", 0, &kex_dh_group1, 1, NULL}, |