projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blobmsg: fix missing length checks
[project/libubox.git]
/
md5.c
diff --git
a/md5.c
b/md5.c
index fd252823d517f6469e74c65567761cd5645de09f..3f8ad28c26d674b6cd3dad6b6bbcdc950ec3aadf 100644
(file)
--- a/
md5.c
+++ b/
md5.c
@@
-52,8
+52,8
@@
#include <string.h>
#include <stdio.h>
-#include <endian.h>
+#include "utils.h"
#include "md5.h"
/*
@@
-308,7
+308,7
@@
void md5_end(void *resbuf, md5_ctx_t *ctx)
memset(ctx, 0, sizeof(*ctx));
}
-int md5sum(char *file, void *md5_buf)
+int md5sum(c
onst c
har *file, void *md5_buf)
{
char buf[256];
md5_ctx_t ctx;