diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-11-09 00:02:26 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-11-09 00:02:26 +0800 |
commit | 1e00d0b92676b985900594904084cc018803fa07 (patch) | |
tree | 2766c83b8e73a3aaa007d937ec08783a41be7060 /svr-kex.c | |
parent | 29b1455f362d3f40a7c328cbd202333a73149092 (diff) |
- Make curve25519 work after fixing a typo, interoperates with OpenSSH
- comment on ecc binary size effects
--HG--
branch : ecc
Diffstat (limited to 'svr-kex.c')
-rw-r--r-- | svr-kex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,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->priv, CURVE25519_LEN); + buf_putstring(ses.writepayload, param->pub, CURVE25519_LEN); free_kexcurve25519_param(param); } #endif |