Skip to content

Commit d4e66e5

Browse files
danielinuxCopilot
andauthored
Update src/image.c: remove duplicated code
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7efb613 commit d4e66e5

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/image.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,17 +2205,10 @@ int wolfBoot_verify_authenticity(struct wolfBoot_image *img)
22052205
}
22062206
}
22072207
#endif
2208-
#ifdef WOLFBOOT_ARMORED
22092208
if (SIG_OK(img)) {
22102209
return 0;
22112210
}
22122211
return -2;
2213-
#else
2214-
if (SIG_OK(img)) {
2215-
return 0;
2216-
}
2217-
return -2;
2218-
#endif
22192212
#undef SIG_OK
22202213
}
22212214
#endif

0 commit comments

Comments
 (0)