mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 17:25:09 +02:00
- djm@cvs.openbsd.org 2014/04/01 05:32:57
[packet.c] demote a debug3 to PACKET_DEBUG; ok markus@
This commit is contained in:
parent
7d6a9fb660
commit
2a328437fb
@ -82,6 +82,9 @@
|
|||||||
dialog by offering only certificate keys.
|
dialog by offering only certificate keys.
|
||||||
|
|
||||||
Reported by mcv21 AT cam.ac.uk
|
Reported by mcv21 AT cam.ac.uk
|
||||||
|
- djm@cvs.openbsd.org 2014/04/01 05:32:57
|
||||||
|
[packet.c]
|
||||||
|
demote a debug3 to PACKET_DEBUG; ok markus@
|
||||||
|
|
||||||
20140401
|
20140401
|
||||||
- (djm) On platforms that support it, use prctl() to prevent sftp-server
|
- (djm) On platforms that support it, use prctl() to prevent sftp-server
|
||||||
|
6
packet.c
6
packet.c
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: packet.c,v 1.192 2014/02/02 03:44:31 djm Exp $ */
|
/* $OpenBSD: packet.c,v 1.193 2014/04/01 05:32:57 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -912,8 +912,8 @@ packet_send2_wrapped(void)
|
|||||||
roundup(active_state->extra_pad, block_size);
|
roundup(active_state->extra_pad, block_size);
|
||||||
pad = active_state->extra_pad -
|
pad = active_state->extra_pad -
|
||||||
((len + padlen) % active_state->extra_pad);
|
((len + padlen) % active_state->extra_pad);
|
||||||
debug3("packet_send2: adding %d (len %d padlen %d extra_pad %d)",
|
DBG(debug3("%s: adding %d (len %d padlen %d extra_pad %d)",
|
||||||
pad, len, padlen, active_state->extra_pad);
|
__func__, pad, len, padlen, active_state->extra_pad));
|
||||||
padlen += pad;
|
padlen += pad;
|
||||||
active_state->extra_pad = 0;
|
active_state->extra_pad = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user