summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/packet.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-12-06 22:58:16 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-12-06 22:58:16 +0000
commitda29e0996382143bbe6106889c26011e28bf1844 (patch)
tree80f47bd28accbbed328d3a8d58f096697558745b /usr.bin/ssh/packet.c
parent486eecba2e2f7a17e65a41c8eb8508eb9a35ce7a (diff)
disable debug messages for ssh.com/f-secure 2.0.1x, 2.1.0
Diffstat (limited to 'usr.bin/ssh/packet.c')
-rw-r--r--usr.bin/ssh/packet.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c
index 3216fdaf45e..9416509005d 100644
--- a/usr.bin/ssh/packet.c
+++ b/usr.bin/ssh/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);