From 75fb9f70e3ae9aceff404eced6726e897b824bb2 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Mon, 14 Mar 2022 15:22:04 +0100 Subject: [PATCH] Fixed ECC with no armor --- include/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.h b/include/image.h index 2dea4ea4..739f3406 100644 --- a/include/image.h +++ b/include/image.h @@ -123,7 +123,7 @@ uint8_t* wolfBoot_peek_image(struct wolfBoot_image *img, uint32_t offset, uint32 #define VERIFY_FN(ret,p_res,fn,...) \ ret = fn(__VA_ARGS__); \ - if (res != 1) \ + if (*p_res != 1) \ ret = -1 #define RSA_VERIFY_FN(ret,fn,...) \