crypt: fix the prototype of md5_sum, sha256_sum and sha512_sum
[musl] / src / crypt / crypt_sha256.c
index 076e4b1..e01a208 100644 (file)
@@ -119,7 +119,7 @@ static void sha256_init(struct sha256 *s)
        s->h[7] = 0x5be0cd19;
 }
 
-static void sha256_sum(struct sha256 *s, uint8_t md[20])
+static void sha256_sum(struct sha256 *s, uint8_t *md)
 {
        int i;