Module Name: src
Committed By: maya
Date: Mon Jan 15 05:04:58 UTC 2018
Modified Files:
src/crypto/external/bsd/openssh/dist: packet.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/crypto/external/bsd/openssh/dist/packet.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/openssh/dist/packet.c
diff -u src/crypto/external/bsd/openssh/dist/packet.c:1.29 src/crypto/external/bsd/openssh/dist/packet.c:1.30
--- src/crypto/external/bsd/openssh/dist/packet.c:1.29 Mon Oct 9 12:07:03 2017
+++ src/crypto/external/bsd/openssh/dist/packet.c Mon Jan 15 05:04:58 2018
@@ -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 <[email protected]>
@@ -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 @@ ssh_packet_send2_wrapped(struct ssh *ssh
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,