Skip to content

Commit 7a879c9

Browse files
committed
Don't hide wolfBoot_open_image and wolfBoot_open_image_external for library build.
1 parent a1f4350 commit 7a879c9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/image.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,6 @@ int wolfBoot_get_dts_size(void *dts_addr)
12051205

12061206
#endif /* MMU */
12071207

1208-
#ifdef WOLFBOOT_FIXED_PARTITIONS
12091208

12101209
/**
12111210
* @brief Open an image in a specified partition.
@@ -1300,7 +1299,6 @@ int wolfBoot_open_image_external(struct wolfBoot_image* img, uint8_t part,
13001299
}
13011300
#endif /* EXT_FLASH */
13021301

1303-
#endif /* WOLFBOOT_FIXED_PARTITIONS */
13041302

13051303
/**
13061304
* @brief Verify the integrity of the image using the stored SHA hash.
@@ -1357,7 +1355,7 @@ int elf_check_image_scattered(uint8_t part, unsigned long *entry_out)
13571355
uint8_t padding_block[PADDING_BLOCK_SIZE];
13581356
int entry_out_set = 0;
13591357

1360-
1358+
13611359
wolfBoot_hash_t ctx;
13621360
if (wolfBoot_open_image(&boot, part) < 0)
13631361
return -1;

0 commit comments

Comments
 (0)