chiark / gitweb /
cleanup: fix up the types of input to hashes to const void* from const uint8_t*
[secnet.git] / md5.c
diff --git a/md5.c b/md5.c
index 9a4dcc3795d3c1dfd7b1f58f27368e6ab7bc15c2..2e0b9b8cc48df382ed3f4332f0bef4263a82ac24 100644 (file)
--- a/md5.c
+++ b/md5.c
@@ -247,7 +247,7 @@ static void *md5_init(void)
     return ctx;
 }
 
-static void md5_update(void *sst, uint8_t const *buf, int32_t len)
+static void md5_update(void *sst, const void *buf, int32_t len)
 {
     struct MD5Context *ctx=sst;