1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/utils/nullmac.c
Simon Tatham 840043f06e Add 'next_message' methods to cipher and MAC vtables.
This provides a convenient hook to be called between SSH messages, for
the crypto components to do any per-message processing like
incrementing a sequence number.
2022-08-16 18:27:06 +01:00

12 lines
213 B
C

/*
* Implementation of shared trivial routines that ssh2_mac
* implementations might use.
*/
#include "ssh.h"
void nullmac_next_message(ssh2_mac *m)
{
/* Most MACs don't do anything at all with this */
}