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@xxxxxxxxxxxxxx> --- 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> -- 2.39.2