mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-29 15:54:48 -05:00
Attempt to fix the remaining key re-exchange bug
[originally from svn r934]
This commit is contained in:
parent
53f03d93d5
commit
8a4206e636
4
ssh.c
4
ssh.c
@ -2454,9 +2454,9 @@ static int do_ssh2_transport(unsigned char *in, int inlen, int ispkt)
|
|||||||
* transport. If we ever see a KEXINIT, we must go back to the
|
* transport. If we ever see a KEXINIT, we must go back to the
|
||||||
* start.
|
* start.
|
||||||
*/
|
*/
|
||||||
do {
|
while (!(ispkt && pktin.type == SSH2_MSG_KEXINIT)) {
|
||||||
crReturn(1);
|
crReturn(1);
|
||||||
} while (!(ispkt && pktin.type == SSH2_MSG_KEXINIT));
|
}
|
||||||
logevent("Server initiated key re-exchange");
|
logevent("Server initiated key re-exchange");
|
||||||
goto begin_key_exchange;
|
goto begin_key_exchange;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user