X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/68b1e05a0d61aa49226725f0a090d2016181115b..447f7a7bc8eac6072ee513884a5225eab7644da8:/sshmd5.c diff --git a/sshmd5.c b/sshmd5.c index 325a5aeb..dbdd9714 100644 --- a/sshmd5.c +++ b/sshmd5.c @@ -230,10 +230,11 @@ void hmacmd5_free_context(void *handle) sfree(handle); } -void hmacmd5_key(void *handle, unsigned char const *key, int len) +void hmacmd5_key(void *handle, void const *keyv, int len) { struct MD5Context *keys = (struct MD5Context *)handle; unsigned char foo[64]; + unsigned char const *key = (unsigned char const *)keyv; int i; memset(foo, 0x36, 64);