summaryrefslogtreecommitdiffhomepage
path: root/cli-kex.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-27 00:38:03 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-27 00:38:03 +0800
commit74cad1612f577fd067ca900ab06517c2a260bbe8 (patch)
tree84cfefd539adb70d1a3eefb1517a0f4bc7aec006 /cli-kex.c
parent73e22c115c7aa5604c6a2135a5d2c1bc38161cb1 (diff)
more bits on ecc branch
--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 ddd2efc..8090756 100644
--- a/cli-kex.c
+++ b/cli-kex.c
@@ -49,7 +49,7 @@ void send_msg_kexdh_init() {
buf_putmpint(ses.writepayload, &cli_ses.dh_param->pub);
} else {
#ifdef DROPBEAR_ECDH
- cli_ses.ecdh_param =
+ cli_ses.ecdh_param = gen_kexecdh_param();
#endif
}
encrypt_packet();