mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
default initialisers for mp_ints
--HG-- extra : convert_revision : af69bacb50a31523e383e8f73844d04681f9e394
This commit is contained in:
@@ -44,7 +44,7 @@ static void send_msg_kexdh_reply(mp_int *dh_e);
|
||||
* that function, then brings the new keys into use */
|
||||
void recv_msg_kexdh_init() {
|
||||
|
||||
mp_int dh_e;
|
||||
DEF_MP_INT(dh_e);
|
||||
|
||||
TRACE(("enter recv_msg_kexdh_init"));
|
||||
if (!ses.kexstate.recvkexinit) {
|
||||
@@ -71,9 +71,11 @@ void recv_msg_kexdh_init() {
|
||||
* See the ietf-secsh-transport draft, section 6, for details */
|
||||
static void send_msg_kexdh_reply(mp_int *dh_e) {
|
||||
|
||||
mp_int dh_y, dh_f;
|
||||
DEF_MP_INT(dh_y);
|
||||
DEF_MP_INT(dh_f);
|
||||
|
||||
TRACE(("enter send_msg_kexdh_reply"));
|
||||
m_mp_init_multi(&dh_y, &dh_f, NULL);
|
||||
|
||||
gen_kexdh_vals(&dh_f, &dh_y);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user