summaryrefslogtreecommitdiffhomepage
path: root/svr-kex.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-06-04 23:08:50 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-06-04 23:08:50 +0800
commitd96a52541f0f89836e99fea2d1bb8e3f4a1f4144 (patch)
tree4eedfa1c5b7e94fb6d930e2528c4d3eb6c27a7c2 /svr-kex.c
parentecd850521816dc2a78792fc53dd9c6c80d5d1b91 (diff)
parent9fdab3ced8374b991bfadce0056cf5bdf7cfb3d6 (diff)
Merge pull request #13 from gazoo74/fix-warnings
Fix warnings
Diffstat (limited to 'svr-kex.c')
-rw-r--r--svr-kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-kex.c b/svr-kex.c
index 6cc5433..96f4508 100644
--- a/svr-kex.c
+++ b/svr-kex.c
@@ -247,7 +247,7 @@ static void send_msg_kexdh_reply(mp_int *dh_e, buffer *ecdh_qs) {
{
struct kex_curve25519_param *param = gen_kexcurve25519_param();
kexcurve25519_comb_key(param, ecdh_qs, svr_opts.hostkey);
- buf_putstring(ses.writepayload, param->pub, CURVE25519_LEN);
+ buf_putstring(ses.writepayload, (const char*)param->pub, CURVE25519_LEN);
free_kexcurve25519_param(param);
}
#endif