]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Complete rewrite of the packet log censoring code.
authorSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2013 14:04:25 +0000 (14:04 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2013 14:04:25 +0000 (14:04 +0000)
commite52f8371c52b6936c133ca1978df5426e4ebd8b3
tree55f5487194a4d6340965352ce8b151f6575beb8a
parent519945b06c0ef0c1ef7731109c600938ef4d7f46
Complete rewrite of the packet log censoring code.

Because the upcoming connection sharing changes are going to involve
us emitting outgoing SSH packets into our log file that we didn't
construct ourselves, we can no longer rely on metadata inserted at
packet construction time to tell us which parts of which packets have
to be blanked or omitted in the SSH packet log. Instead, we now have
functions that deal with constructing the blanks array just before
passing all kinds of packet (both SSH-1 and SSH-2, incoming and
outgoing) to logging.c; the blanks/nblanks fields in struct Packet are
therefore no longer needed.

git-svn-id: http://svn.tartarus.org/sgt/putty@10071 cda61777-01e9-0310-a592-d414129be87e
ssh.c