diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2016-01-01 09:20:50 +0100 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-16 22:41:19 +0800 |
commit | 893d7be5bfaa0764b2a152a208b0b14b6e3d26d9 (patch) | |
tree | 0b4cde5d2cd38d9e6dbe74519190a9629e6146c2 /common-algo.c | |
parent | c5b77e1b4926757c1cd54d05eb16ab6658829f96 (diff) |
const variables
Diffstat (limited to 'common-algo.c')
-rw-r--r-- | common-algo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common-algo.c b/common-algo.c index c2cef77..10d60c9 100644 --- a/common-algo.c +++ b/common-algo.c @@ -265,13 +265,13 @@ static const struct dropbear_kex kex_dh_group16_sha512 = {DROPBEAR_KEX_NORMAL_DH ecc_curve at runtime */ #ifdef DROPBEAR_ECDH #ifdef DROPBEAR_ECC_256 -static struct dropbear_kex kex_ecdh_nistp256 = {DROPBEAR_KEX_ECDH, NULL, 0, &ecc_curve_nistp256, &sha256_desc }; +static const struct dropbear_kex kex_ecdh_nistp256 = {DROPBEAR_KEX_ECDH, NULL, 0, &ecc_curve_nistp256, &sha256_desc }; #endif #ifdef DROPBEAR_ECC_384 -static struct dropbear_kex kex_ecdh_nistp384 = {DROPBEAR_KEX_ECDH, NULL, 0, &ecc_curve_nistp384, &sha384_desc }; +static const struct dropbear_kex kex_ecdh_nistp384 = {DROPBEAR_KEX_ECDH, NULL, 0, &ecc_curve_nistp384, &sha384_desc }; #endif #ifdef DROPBEAR_ECC_521 -static struct dropbear_kex kex_ecdh_nistp521 = {DROPBEAR_KEX_ECDH, NULL, 0, &ecc_curve_nistp521, &sha512_desc }; +static const struct dropbear_kex kex_ecdh_nistp521 = {DROPBEAR_KEX_ECDH, NULL, 0, &ecc_curve_nistp521, &sha512_desc }; #endif #endif /* DROPBEAR_ECDH */ |