Skip to content

Commit 38631d2

Browse files
committed
Fixed regression in delta fallback
1 parent b35f3b6 commit 38631d2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/update_flash.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,7 @@ static int RAMFUNCTION wolfBoot_update(int fallback_allowed)
814814
ext_flash_lock();
815815
#endif
816816
hal_flash_lock();
817+
inverse = 1;
817818
}
818819

819820
return wolfBoot_delta_update(&boot, &update, &swap, inverse, resume);

tools/test.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,5 +996,5 @@ test-size-all:
996996
LIMIT=8322 NO_ARM_ASM=1
997997
make keysclean
998998
make clean
999-
make test-size SIGN=ML_DSA ML_DSA_LEVEL=2 LIMIT=18870 \
999+
make test-size SIGN=ML_DSA ML_DSA_LEVEL=2 LIMIT=18880 \
10001000
IMAGE_SIGNATURE_SIZE=2420 IMAGE_HEADER_SIZE?=8192

0 commit comments

Comments
 (0)