[PATCH] FIT: make RSA signature verification configurable
Sascha Hauer
s.hauer at pengutronix.de
Mon Jan 11 00:03:46 PST 2016
Hi Yegor,
On Fri, Jan 08, 2016 at 05:43:56PM +0100, Yegor Yefremov wrote:
> On Fri, Jan 8, 2016 at 5:11 PM, Marc Kleine-Budde <mkl at pengutronix.de> wrote:
> > On 01/08/2016 02:24 PM, yegorslists at googlemail.com wrote:
> >> From: Yegor Yefremov <yegorslists at googlemail.com>
> >> diff --git a/common/image-fit.c b/common/image-fit.c
> >> index 296285b..96cc3e2 100644
> >> --- a/common/image-fit.c
> >> +++ b/common/image-fit.c
> >> @@ -40,6 +40,7 @@
> >> #define CHECK_LEVEL_SIG 2
> >> #define CHECK_LEVEL_MAX 3
> >>
> >> +#ifdef CONFIG_CMD_BOOTM_FITIMAGE_SIGNATURE
> >> static uint32_t dt_struct_advance(struct fdt_header *f, uint32_t dt, int size)
> >
> > remove the ifdef.
>
> What about compile warnings, i.e. function defined, but not used?
This won't happen when you use IS_ENABLED().
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list