summaryrefslogtreecommitdiff
path: root/svr-kex.c
diff options
context:
space:
mode:
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 a4376df..2d2cdb1 100644
--- a/svr-kex.c
+++ b/svr-kex.c
@@ -104,7 +104,7 @@ static void send_msg_kexdh_reply(mp_int *dh_e, buffer *ecdh_qs) {
struct kex_ecdh_param *ecdh_param = gen_kexecdh_param();
kexecdh_comb_key(ecdh_param, ecdh_qs, svr_opts.hostkey);
- buf_put_ecc_pubkey_string(ses.writepayload, &ecdh_param->key);
+ buf_put_ecc_raw_pubkey_string(ses.writepayload, &ecdh_param->key);
free_kexecdh_param(ecdh_param);
#endif
}