aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_helper.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-05-06 13:28:52 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-05-07 23:17:25 +0200
commite927e21c07483337ffb63b828d4ddb5e0db342b2 (patch)
tree671db0d6c6e455146a1051a5a8189f43c82799ad /lib/efi_loader/efi_helper.c
parentdeb2638aa09e23e0ca263a77bde2079dc4bd48df (diff)
tools: mkimage: set OPENSSL_API_COMPAT
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 Linux distributions just silence the warning. Add missing #include <openssl/bn.h>. Fixes: e9e87ec47c75 ("tools: mkimage: Add Allwinner TOC0 support") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Tested-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'lib/efi_loader/efi_helper.c')
0 files changed, 0 insertions, 0 deletions