Re: [PATCH 1/1] tools: mkimage: set OPENSSL_API_COMPAT

2022-05-05 Thread Tom Rini
On Sat, Apr 30, 2022 at 03:45:24PM +0200, Heinrich Schuchardt wrote: > Building with OpenSSL 3.0 produces warnings like: > > ../tools/sunxi_toc0.c:846:17: warning: ‘RSA_get0_d’ is deprecated: > Since OpenSSL 3.0 [-Wdeprecated-declarations] > 846 | if (root_key && RSA_get0_d(root

[PATCH 1/1] tools: mkimage: set OPENSSL_API_COMPAT

2022-04-30 Thread Heinrich Schuchardt
Building with OpenSSL 3.0 produces warnings like: ../tools/sunxi_toc0.c:846:17: warning: ‘RSA_get0_d’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 846 | if (root_key && RSA_get0_d(root_key)) { | ^~ As OpenSSL 3.0 is not available in elder Li