Skip to content

Commit f585490

Browse files
committed
Patch to fix unit-test missing wolfBoot_get_blob_version
1 parent 3c77ab6 commit f585490

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/unit-tests/unit-image.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ static const unsigned char pubkey_digest[SHA256_DIGEST_SIZE] = {
7676
};
7777

7878

79+
uint32_t wolfBoot_get_blob_version(uint8_t *blob)
80+
{
81+
(void)blob;
82+
return 1;
83+
}
84+
85+
7986
static unsigned char test_img_v200000000_signed_bin[] = {
8087
0x57, 0x4f, 0x4c, 0x46, 0x13, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00,
8188
0x00, 0xc2, 0xeb, 0x0b, 0xff, 0xff, 0xff, 0xff, 0x02, 0x00, 0x08, 0x00,

0 commit comments

Comments
 (0)