projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement hmac-sha1-96. It's RECOMMENDED in the current transport draft,
[u/mdw/putty]
/
ssh.c
diff --git
a/ssh.c
b/ssh.c
index
75610c6
..
d1b7acc
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-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[] = {
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[] = {
};
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)
};
static void *ssh_comp_none_init(void)