X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/374330e25a6b51c40436fa869a381dd510790f6e..37508af4ab231b1fde58345f5237f3ee82803829:/ssh.c diff --git a/ssh.c b/ssh.c index f80055c9..8092c985 100644 --- a/ssh.c +++ b/ssh.c @@ -114,6 +114,12 @@ static void ssh_gotdata(unsigned char *data, int datalen) { data++, datalen--; } +#ifdef FWHACK + if (len == 0x52656d6f) { /* "Remo"te server has closed ... */ + len = 0x300; /* big enough to carry to end */ + } +#endif + pad = 8 - (len%8); biglen = len + pad;