diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-04-29 19:16:53 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-04-29 19:16:53 +0000 |
commit | ceee9826a41f98b2638f943bc8ab2891c6731e4d (patch) | |
tree | ed7ceb17618fc3d5a170990837a5aff348accc21 /usr.bin/ssh/channels.c | |
parent | 2636bafbb2f1f9d5afe4e50f136507464daf490e (diff) |
more ssh.com-2.0.x bug-compat; from per@appgate.com
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r-- | usr.bin/ssh/channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 08780b0ebd9..b6b0b26eccf 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: channels.c,v 1.109 2001/04/17 12:55:03 markus Exp $"); +RCSID("$OpenBSD: channels.c,v 1.110 2001/04/29 19:16:52 markus Exp $"); #include <openssl/rsa.h> #include <openssl/dsa.h> @@ -1534,7 +1534,7 @@ channel_input_open_failure(int type, int plen, void *ctxt) "non-opening channel %d.", id); if (compat20) { reason = packet_get_int(); - if (packet_remaining() > 0) { + if (!(datafellows & SSH_BUG_OPENFAILURE)) { msg = packet_get_string(NULL); lang = packet_get_string(NULL); } |