mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 18:17:32 -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:
@ -331,7 +331,7 @@ static void *sha512_init(void)
|
||||
return s;
|
||||
}
|
||||
|
||||
static void sha512_bytes(void *handle, void *p, int len)
|
||||
static void sha512_bytes(void *handle, const void *p, int len)
|
||||
{
|
||||
SHA512_State *s = handle;
|
||||
|
||||
|
Reference in New Issue
Block a user