[PATCH 1/1] tools: avoid OpenSSL deprecation warnings

Simon Glass sjg at chromium.org
Tue Dec 28 09:33:16 CET 2021


On Sat, 18 Dec 2021 at 03:32, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> 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 at canonical.com>
> ---
>  lib/aes/aes-encrypt.c       | 3 +++
>  lib/ecdsa/ecdsa-libcrypto.c | 2 ++
>  lib/rsa/rsa-sign.c          | 6 ++++--
>  tools/kwbimage.c            | 2 ++
>  4 files changed, 11 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list