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:

committed by
Simon Tatham

parent
3ce4594d14
commit
705f159255
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user