]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshsh512.c
Const-correctness in struct ssh_hash.
[PuTTY.git] / sshsh512.c
index b734c735de86516dae71764ef485987f9ce8ee2f..f0f135108142be6594c31f023ac24007e076853a 100644 (file)
@@ -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;