Skip to content

Commit 622d9fb

Browse files
committed
default to success until key_hash return values implemented
1 parent c335cc2 commit 622d9fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/image.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2219,7 +2219,7 @@ uint8_t* wolfBoot_peek_image(struct wolfBoot_image *img, uint32_t offset,
22192219
int keyslot_id_by_sha(const uint8_t *hint)
22202220
{
22212221
int id;
2222-
int ret = -1;
2222+
int ret = 0; /* TODO default to failure until proven otherwise */
22232223
int ct = 0;
22242224
if (hint == NULL) {
22252225
return -1;

0 commit comments

Comments
 (0)