projects
/
oweals
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: use blob_parse_untrusted variant
[oweals/libubox.git]
/
tests
/
test-blob-parse.c
diff --git
a/tests/test-blob-parse.c
b/tests/test-blob-parse.c
index 6b1fb56485da03147ad57d5cad42e6a75599ba06..6d65eb4995b579ac5aa4069a6b031a056bed28ae 100644
(file)
--- a/
tests/test-blob-parse.c
+++ b/
tests/test-blob-parse.c
@@
-87,7
+87,7
@@
static int cert_load(const char *certfile, struct list_head *chain)
bufpt = (struct blob_attr *)filebuf;
do {
- pret = blob_parse
(bufpt
, certtb, cert_policy, CERT_ATTR_MAX);
+ pret = blob_parse
_untrusted(bufpt, len
, certtb, cert_policy, CERT_ATTR_MAX);
if (pret <= 0)
/* no attributes found */
break;