1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Implement hmac-sha1-96. It's RECOMMENDED in the current transport draft,

and we don't have any strong reason not to implement it, for all that it's
rather pointless.

[originally from svn r6284]
This commit is contained in:
Ben Harris
2005-09-10 16:19:53 +00:00
parent 9131914278
commit c0d36aa00a
3 changed files with 36 additions and 2 deletions

4
ssh.c
View File

@ -462,10 +462,10 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen,
const static struct ssh_signkey *hostkey_algs[] = { &ssh_rsa, &ssh_dss };
const static struct ssh_mac *macs[] = {
&ssh_hmac_sha1, &ssh_hmac_md5
&ssh_hmac_sha1, &ssh_hmac_sha1_96, &ssh_hmac_md5
};
const static struct ssh_mac *buggymacs[] = {
&ssh_hmac_sha1_buggy, &ssh_hmac_md5
&ssh_hmac_sha1_buggy, &ssh_hmac_sha1_96_buggy, &ssh_hmac_md5
};
static void *ssh_comp_none_init(void)