mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 20:34:38 +00: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:
parent
88c4cbedfb
commit
3a8b919932
4 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2019,Softathome
|
* Copyright (c) 2019,Softathome
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define OPENSSL_API_COMPAT 0x10101000L
|
||||||
|
|
||||||
#include "mkimage.h"
|
#include "mkimage.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Copyright (c) 2020,2021, Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (c) 2020,2021, Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define OPENSSL_API_COMPAT 0x10101000L
|
||||||
|
|
||||||
#include <u-boot/ecdsa.h>
|
#include <u-boot/ecdsa.h>
|
||||||
#include <u-boot/fdt-libcrypto.h>
|
#include <u-boot/fdt-libcrypto.h>
|
||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
* Copyright (c) 2013, Google Inc.
|
* Copyright (c) 2013, Google Inc.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define OPENSSL_API_COMPAT 0x10101000L
|
||||||
|
|
||||||
#include "mkimage.h"
|
#include "mkimage.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
* <thomas.petazzoni@free-electrons.com>
|
* <thomas.petazzoni@free-electrons.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define OPENSSL_API_COMPAT 0x10101000L
|
||||||
|
|
||||||
#include "imagetool.h"
|
#include "imagetool.h"
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <image.h>
|
#include <image.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue