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

2022-05-06 Thread Andre Przywara
On Fri, 6 May 2022 13:28:52 +0200 Heinrich Schuchardt wrote: Hi, > 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 v2 1/1] tools: mkimage: set OPENSSL_API_COMPAT

2022-05-06 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