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

Allow a cipher to override the SSH KEX's choice of MAC.

No cipher uses this facility yet, but one shortly will.
This commit is contained in:
Chris Staite
2015-06-07 13:40:11 +01:00
committed by Simon Tatham
parent 3ce4594d14
commit 705f159255
10 changed files with 53 additions and 23 deletions

View File

@ -225,7 +225,7 @@ const struct ssh_hash ssh_sha256 = {
* HMAC wrapper on it.
*/
static void *sha256_make_context(void)
static void *sha256_make_context(void *cipher_ctx)
{
return snewn(3, SHA256_State);
}