Mercurial > dropbear
diff common-session.c @ 1083:8e0280986710
Make sure kexfirstinitialise is called early enough
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 03 May 2015 00:00:35 +0800 |
parents | acf444bcb115 |
children | bb3a03feb31f aaf576b27a10 |
line wrap: on
line diff
--- a/common-session.c Sat May 02 22:59:55 2015 +0800 +++ b/common-session.c Sun May 03 00:00:35 2015 +0800 @@ -90,8 +90,6 @@ ses.maxfd = MAX(ses.maxfd, ses.signal_pipe[0]); ses.maxfd = MAX(ses.maxfd, ses.signal_pipe[1]); - kexfirstinitialise(); /* initialise the kex state */ - ses.writepayload = buf_new(TRANS_MAX_PAYLOAD_LEN); ses.transseq = 0;