diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-03-29 20:44:13 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-03-29 20:44:13 +0800 |
commit | 4f62da0f0d5da78b6c7a0cf507307aeacc8ac842 (patch) | |
tree | 388f3c01e3c97b15aa696950062e2afb2e78eea9 /cli-kex.c | |
parent | 9be0d6b53d6b85a8f273ee28876405fbca49b9fd (diff) |
first_kex_packet_follows working, needs tidying
--HG--
branch : kexguess
Diffstat (limited to 'cli-kex.c')
-rw-r--r-- | cli-kex.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -42,7 +42,7 @@ static void checkhostkey(unsigned char* keyblob, unsigned int keybloblen); #define MAX_KNOWNHOSTS_LINE 4500 void send_msg_kexdh_init() { - + TRACE(("send_msg_kexdh_init()")) cli_ses.dh_e = (mp_int*)m_malloc(sizeof(mp_int)); cli_ses.dh_x = (mp_int*)m_malloc(sizeof(mp_int)); m_mp_init_multi(cli_ses.dh_e, cli_ses.dh_x, NULL); @@ -53,7 +53,8 @@ void send_msg_kexdh_init() { buf_putbyte(ses.writepayload, SSH_MSG_KEXDH_INIT); buf_putmpint(ses.writepayload, cli_ses.dh_e); encrypt_packet(); - ses.requirenext = SSH_MSG_KEXDH_REPLY; + // XXX fixme + //ses.requirenext = SSH_MSG_KEXDH_REPLY; } /* Handle a diffie-hellman key exchange reply. */ |