summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2017-08-19 17:16:13 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2017-08-19 17:16:13 +0200
commit63300b49f30b3d63a551d4d568ae95fea24035ba (patch)
treef0cbad938d5ecac73806a7d9a5ae25268086fb31 /kex.h
parent2eb1f9f6e588a675226bfefb379156378b065422 (diff)
downloaddropbear-63300b49f30b3d63a551d4d568ae95fea24035ba.tar.gz
Pointer parameter could be declared as pointing to const
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kex.h b/kex.h
index 7b98cd5..5ca3fb3 100644
--- a/kex.h
+++ b/kex.h
@@ -50,7 +50,7 @@ void kexecdh_comb_key(struct kex_ecdh_param *param, buffer *pub_them,
#if DROPBEAR_CURVE25519
struct kex_curve25519_param *gen_kexcurve25519_param(void);
void free_kexcurve25519_param(struct kex_curve25519_param *param);
-void kexcurve25519_comb_key(struct kex_curve25519_param *param, buffer *pub_them,
+void kexcurve25519_comb_key(const struct kex_curve25519_param *param, const buffer *pub_them,
sign_key *hostkey);
#endif