diff --git a/sys/kern/md5c.c b/sys/kern/md5c.c index 94b4a261160a..af5471ccd595 100644 --- a/sys/kern/md5c.c +++ b/sys/kern/md5c.c @@ -78,7 +78,7 @@ Decode (u_int32_t *output, const unsigned char *input, unsigned int len) const u_int32_t *ip = (const u_int32_t *)input; for (i = 0; i < len / 4; i++) - output[i] = le32toh(ip[i]); + output[i] = le32dec(&ip[i]); } #endif