mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 08:23:24 +02:00
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>
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
* Copyright (c) 2020,2021, Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||
*/
|
||||
|
||||
#define OPENSSL_API_COMPAT 0x10101000L
|
||||
|
||||
#include <u-boot/ecdsa.h>
|
||||
#include <u-boot/fdt-libcrypto.h>
|
||||
#include <openssl/ssl.h>
|
||||
|
Reference in New Issue
Block a user