summaryrefslogtreecommitdiffhomepage
path: root/cli-kex.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-09 00:02:26 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-09 00:02:26 +0800
commit1e00d0b92676b985900594904084cc018803fa07 (patch)
tree2766c83b8e73a3aaa007d937ec08783a41be7060 /cli-kex.c
parent29b1455f362d3f40a7c328cbd202333a73149092 (diff)
- Make curve25519 work after fixing a typo, interoperates with OpenSSH
- comment on ecc binary size effects --HG-- branch : ecc
Diffstat (limited to 'cli-kex.c')
-rw-r--r--cli-kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-kex.c b/cli-kex.c
index 0ab4edc..18285ac 100644
--- a/cli-kex.c
+++ b/cli-kex.c
@@ -79,7 +79,7 @@ void send_msg_kexdh_init() {
}
cli_ses.curve25519_param = gen_kexcurve25519_param();
}
- buf_putstring(ses.writepayload, cli_ses.curve25519_param->priv, CURVE25519_LEN);
+ buf_putstring(ses.writepayload, cli_ses.curve25519_param->pub, CURVE25519_LEN);
#endif
break;
}