summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-16 22:53:27 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:53:27 +0800
commitc830d30553abc3710c3d5eb18964cd96fc37c902 (patch)
tree393f384cd748140a3fb55f41a7009baca51a062e /common-algo.c
parent3e7672edca09cb72ca8be481b5a6d5fb30b79149 (diff)
parent0650182289344e0d83b20c0cea1024a2306d2072 (diff)
merge
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c6
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 */