From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Cc: Tom Rini <trini@konsulko.com>, Tobias Olausson <tobias@eub.se>,
Quentin Schulz <quentin.schulz@cherry.de>,
u-boot@lists.denx.de
Subject: Re: [PATCH 1/1] tools: fix building with OpenSSL 4.0
Date: Mon, 15 Jun 2026 21:46:32 +0200 [thread overview]
Message-ID: <20260615194632.ACNju1Qi@breakpoint.cc> (raw)
In-Reply-To: <20260615160718.94366-1-heinrich.schuchardt@canonical.com>
On 2026-06-15 18:07:18 [+0200], Heinrich Schuchardt wrote:
> Add -DOPENSSL_ENGINE_STUBS -Wno-deprecated-declarations to the
> rsa-sign.c build flags.
…
> Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138297
> Reported-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -90,6 +90,9 @@ RSA_OBJS-$(CONFIG_TOOLS_LIBCRYPTO) := $(addprefix generated/lib/rsa/, \
> HOSTCFLAGS_generated/lib/rsa/rsa-sign.o += \
> $(shell pkg-config --cflags libssl libcrypto 2> /dev/null || echo "")
>
> +HOSTCFLAGS_generated/lib/rsa/rsa-sign.o += \
> + -DOPENSSL_ENGINE_STUBS -Wno-deprecated-declarations
> +
I suggest to ifdef the engine support for OpenSSL >3 away. Also maybe
removing it since the "provider interface" is available since the 3.0
series. And since 1.1 receives no FOSS support it might not hurt anyone
to drop it and keep only the provider interface around.
If the engine support was introduced due to $HW then there should be
matching provider support.
> ECDSA_OBJS-$(CONFIG_TOOLS_LIBCRYPTO) := $(addprefix generated/lib/ecdsa/, ecdsa-libcrypto.o)
> HOSTCFLAGS_generated/lib/ecdsa/ecdsa-libcrypto.o += \
> $(shell pkg-config --cflags libssl libcrypto 2> /dev/null || echo "")
Sebastian
next prev parent reply other threads:[~2026-06-15 23:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-15 16:07 [PATCH 1/1] tools: fix building with OpenSSL 4.0 Heinrich Schuchardt
2026-06-15 16:50 ` Quentin Schulz
2026-06-16 6:40 ` Enric Balletbo Serra
2026-06-16 20:20 ` Peter Robinson
2026-06-15 19:46 ` Sebastian Andrzej Siewior [this message]
2026-06-16 8:35 ` Quentin Schulz
2026-06-16 18:48 ` Sebastian Andrzej Siewior
2026-06-16 21:52 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260615194632.ACNju1Qi@breakpoint.cc \
--to=sebastian@breakpoint.cc \
--cc=heinrich.schuchardt@canonical.com \
--cc=quentin.schulz@cherry.de \
--cc=tobias@eub.se \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.