aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-12-18 11:25:12 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-12-26 06:57:20 +0100
commit3a8b919932fdf07b6fefc1e76abb086984909be9 (patch)
tree67d5e3f32660d1bae71f7c21d93703c3de9776c1 /tools
parent88c4cbedfb2f0a41830b662fe2e5797a95af508f (diff)
downloadu-boot-3a8b919932fdf07b6fefc1e76abb086984909be9.zip
u-boot-3a8b919932fdf07b6fefc1e76abb086984909be9.tar.gz
u-boot-3a8b919932fdf07b6fefc1e76abb086984909be9.tar.bz2
tools: avoid OpenSSL deprecation warnings
Our Gitlab CI buildsystem is set up to treat warnings as errors. With OpenSSL 3.0 a lot of deprecation warnings occur. With the patch compatibility with OpenSSL 1.1.1 is declared. In the long run we should upgrade our code to use the current API. A -Wdiscarded-qualifiers warning is muted by casting. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/kwbimage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 875f636..da8bfe0 100644
--- a/tools/kwbimage.c
+++ b/tools/kwbimage.c
@@ -8,6 +8,8 @@
* <thomas.petazzoni@free-electrons.com>
*/
+#define OPENSSL_API_COMPAT 0x10101000L
+
#include "imagetool.h"
#include <limits.h>
#include <image.h>