mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 19:41:01 -05:00
Const-correctness in struct ssh_hash.
The 'bytes' function should take a const void * as input, not a void *.
This commit is contained in:
2
ssh.h
2
ssh.h
@ -335,7 +335,7 @@ struct ssh_mac {
|
||||
|
||||
struct ssh_hash {
|
||||
void *(*init)(void); /* also allocates context */
|
||||
void (*bytes)(void *, void *, int);
|
||||
void (*bytes)(void *, const void *, int);
|
||||
void (*final)(void *, unsigned char *); /* also frees context */
|
||||
int hlen; /* output length in bytes */
|
||||
char *text_name;
|
||||
|
Reference in New Issue
Block a user