summaryrefslogtreecommitdiff
path: root/cli-kex.c
diff options
context:
space:
mode:
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();