Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist Move spammy debug message t...



details:   https://anonhg.NetBSD.org/src/rev/80110915dab7
branches:  trunk
changeset: 829028:80110915dab7
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Jan 15 05:04:58 2018 +0000

description:
Move spammy debug message to debug2.
Similarly spammy messages exist in this debug level.

Requested by gson in PR bin/52898:
ssh -v prints debug message on every keystroke

diffstat:

 crypto/external/bsd/openssh/dist/packet.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e88c8abfd9ce -r 80110915dab7 crypto/external/bsd/openssh/dist/packet.c
--- a/crypto/external/bsd/openssh/dist/packet.c Mon Jan 15 04:25:48 2018 +0000
+++ b/crypto/external/bsd/openssh/dist/packet.c Mon Jan 15 05:04:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: packet.c,v 1.29 2017/10/09 12:07:03 christos Exp $     */
+/*     $NetBSD: packet.c,v 1.30 2018/01/15 05:04:58 maya Exp $ */
 /* $OpenBSD: packet.c,v 1.264 2017/09/12 06:32:07 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -39,7 +39,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: packet.c,v 1.29 2017/10/09 12:07:03 christos Exp $");
+__RCSID("$NetBSD: packet.c,v 1.30 2018/01/15 05:04:58 maya Exp $");
 
 #include <sys/param.h> /* MIN roundup */
 #include <sys/types.h>
@@ -1117,7 +1117,7 @@
            len, padlen, aadlen));
 
        /* compute MAC over seqnr and packet(length fields, payload, padding) */
-debug("mac %p, %d %d", mac, mac? mac->enabled : -1, mac ? mac->etm : -1);
+debug2("mac %p, %d %d", mac, mac? mac->enabled : -1, mac ? mac->etm : -1);
        if (mac && mac->enabled && !mac->etm) {
                if ((r = mac_compute(mac, state->p_send.seqnr,
                    sshbuf_ptr(state->outgoing_packet), len,



Home | Main Index | Thread Index | Old Index