1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-14 01:27:35 -05:00

Mention the negotiated SSH-2 MAC algorithm(s) in the Event Log.

(It should be possible to at least see what MAC is in use without going to a
SSH packet log.)

[originally from svn r4591]
This commit is contained in:
Jacob Nevins
2004-09-29 23:57:03 +00:00
parent 05696aabfd
commit fb92f118bd
4 changed files with 11 additions and 3 deletions

4
ssh.c
View File

@ -4502,6 +4502,10 @@ static int do_ssh2_transport(Ssh ssh, unsigned char *in, int inlen, int ispkt)
ssh->cscipher->text_name);
logeventf(ssh, "Initialised %.200s server->client encryption",
ssh->sccipher->text_name);
logeventf(ssh, "Initialised %.200s client->server MAC algorithm",
ssh->csmac->text_name);
logeventf(ssh, "Initialised %.200s server->client MAC algorithm",
ssh->scmac->text_name);
if (ssh->cscomp->text_name)
logeventf(ssh, "Initialised %s compression",
ssh->cscomp->text_name);