mirror of https://github.com/wolfSSL/wolfBoot.git
unit test: match wolfBoot_get_dts_size mock to the 2-arg signature
95227f82 (fdt: rewrite device tree parser with capacity bound and full
validation) changed wolfBoot_get_dts_size() to take a capacity argument
but left the mock in unit-update-disk-fs.c with the old 1-arg
signature, so the test no longer compiles (conflicting types). Update
the mock; behavior is unchanged (always -1, no DTS in this test).
pull/880/head
parent
634d67904c
commit
a504552883
|
|
@ -682,9 +682,10 @@ uint32_t wolfBoot_get_blob_version(uint8_t *blob)
|
|||
return version;
|
||||
}
|
||||
|
||||
int wolfBoot_get_dts_size(void *dts_addr)
|
||||
int wolfBoot_get_dts_size(void *dts_addr, uint32_t capacity)
|
||||
{
|
||||
(void)dts_addr;
|
||||
(void)capacity;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue