1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Add infrastructure for supporting multiple hashes in key exchange.

Nothing very surprising here.

[originally from svn r6251]
This commit is contained in:
Ben Harris
2005-08-31 20:43:06 +00:00
parent 11d5c791ac
commit a59356aa74
4 changed files with 114 additions and 61 deletions

View File

@ -48,17 +48,17 @@ static const unsigned char G[] = { 2 };
const struct ssh_kex ssh_diffiehellman_group1 = {
"diffie-hellman-group1-sha1", "group1",
P1, G, lenof(P1), lenof(G)
P1, G, lenof(P1), lenof(G), &ssh_sha1
};
const struct ssh_kex ssh_diffiehellman_group14 = {
"diffie-hellman-group14-sha1", "group14",
P14, G, lenof(P14), lenof(G)
P14, G, lenof(P14), lenof(G), &ssh_sha1
};
const struct ssh_kex ssh_diffiehellman_gex = {
"diffie-hellman-group-exchange-sha1", NULL,
NULL, NULL, 0, 0
NULL, NULL, 0, 0, &ssh_sha1
};
/*