[PATCH v2 02/19] rsatoc: disable deprecated function warnings
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Aug 5 02:29:11 PDT 2024
On 01.08.24 07:57, Sascha Hauer wrote:
> In rsatoc we use several deprecated functions. We can get rid of some
> of them in the next few patches, but we will still need the ENGINE
> functions as the provider API is not yet widespread across
> distributions. Disable the deprecated function warnings for now.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> scripts/rsatoc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/rsatoc.c b/scripts/rsatoc.c
> index d5943d4a11..ed167bf247 100644
> --- a/scripts/rsatoc.c
> +++ b/scripts/rsatoc.c
> @@ -5,6 +5,7 @@
> * This tool converts an RSA key given as file or PKCS#11
> * URI to a C struct suitable to compile with barebox.
> */
> +#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
> #include <stdio.h>
> #include <string.h>
> #include <time.h>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list