]> andersk Git - openssh.git/blobdiff - channels.c
- markus@cvs.openbsd.org 2001/04/29 19:16:52
[openssh.git] / channels.c
index 57890aec932c3b93561993109b36d46f10ef98e7..cd73bd72647dc438dddced9d9ce701263e5d2a19 100644 (file)
@@ -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);
                }
This page took 0.368104 seconds and 4 git commands to generate.