From a14ee47f2eee3030cd784b93985a4de417a4b14c Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 7 Dec 2000 01:24:58 +0000 Subject: 20001207 - (bal) OpenSSH CVS updates: - markus@cvs.openbsd.org 2000/12/06 22:58:14 [compat.c compat.h packet.c] disable debug messages for ssh.com/f-secure 2.0.1x, 2.1.0 --- packet.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packet.c') diff --git a/packet.c b/packet.c index 8c9374fca..3e8ab2383 100644 --- a/packet.c +++ b/packet.c @@ -37,7 +37,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: packet.c,v 1.38 2000/10/12 14:21:12 markus Exp $"); +RCSID("$OpenBSD: packet.c,v 1.39 2000/12/06 22:58:15 markus Exp $"); #include "xmalloc.h" #include "buffer.h" @@ -1101,6 +1101,9 @@ packet_send_debug(const char *fmt,...) char buf[1024]; va_list args; + if (compat20 && (datafellows & SSH_BUG_DEBUG)) + return; + va_start(args, fmt); vsnprintf(buf, sizeof(buf), fmt, args); va_end(args); -- cgit v1.2.3