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 23b7308..f1bf67c 100644
--- a/cli-kex.c
+++ b/cli-kex.c
@@ -51,7 +51,7 @@ void send_msg_kexdh_init() {
} else {
#ifdef DROPBEAR_ECDH
cli_ses.ecdh_param = gen_kexecdh_param();
- buf_put_ecc_pubkey_string(ses.writepayload, &cli_ses.ecdh_param->key);
+ buf_put_ecc_raw_pubkey_string(ses.writepayload, &cli_ses.ecdh_param->key);
#endif
}
encrypt_packet();