summaryrefslogtreecommitdiff
path: root/common/image-fit-sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/image-fit-sig.c')
-rw-r--r--common/image-fit-sig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/image-fit-sig.c b/common/image-fit-sig.c
index b979cd2a4b..e95e64bd2f 100644
--- a/common/image-fit-sig.c
+++ b/common/image-fit-sig.c
@@ -72,11 +72,12 @@ static int fit_image_setup_verify(struct image_sign_info *info,
char *algo_name;
const char *padding_name;
+#ifndef USE_HOSTCC
if (fdt_totalsize(fit) > CONFIG_FIT_SIGNATURE_MAX_SIZE) {
*err_msgp = "Total size too large";
return 1;
}
-
+#endif
if (fit_image_hash_get_algo(fit, noffset, &algo_name)) {
*err_msgp = "Can't get hash algo property";
return -1;