From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org, Alex Suykov <alex.suykov@gmail.com>
Subject: Re: [Buildroot] [PATCH 1/1] package/vboot-utils: Fix build with OpenSSL >= 3.x
Date: Sun, 20 Sep 2026 15:43:43 +0200 [thread overview]
Message-ID: <aq_jCw8MOh0iVagJ@windsurf> (raw)
In-Reply-To: <20260912201718.1667470-1-bernd@kuhls.net>
On Sat, Sep 12, 2026 at 10:17:18PM +0200, Bernd Kuhls wrote:
> Remove -Werror from CFLAGS to prevent build errors due to warnings of
> deprecated functions:
>
> futility/cmd_create.c: In function ‘vb1_make_keypair’:
> futility/cmd_create.c:96:9: error: ‘PEM_read_RSAPrivateKey’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 96 | rsa_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL);
>
> futility/cmd_create.c:155:9: error: ‘RSA_free’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 155 | RSA_free(rsa_key);
>
> futility/cmd_create.c:191:17: error: ‘PEM_read_RSA_PUBKEY’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 191 | rsa_key = PEM_read_RSA_PUBKEY(fp, NULL, NULL, NULL);
>
> futility/cmd_create.c:199:9: error: ‘RSA_get0_key’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 199 | RSA_get0_key(rsa_key, NULL, NULL, &rsa_d);
>
> cc1: all warnings being treated as errors
>
> The oldest build error dates back to 2024 so a backport to LTS branches
> should be considered.
>
> Fixes:
> https://autobuild.buildroot.net/results/375/37554c5ce784835a36f0068d9a0c1cd931212b44/
> https://autobuild.buildroot.net/results/1fa/1fabca11c7839d2d7ed809f30482595719a29c92/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-09-20 13:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-12 20:17 [Buildroot] [PATCH 1/1] package/vboot-utils: Fix build with OpenSSL >= 3.x Bernd Kuhls
2026-09-20 13:43 ` Thomas Petazzoni via buildroot [this message]
2026-09-25 14:44 ` Raphaël Mélotte via buildroot
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=aq_jCw8MOh0iVagJ@windsurf \
--to=buildroot@buildroot.org \
--cc=alex.suykov@gmail.com \
--cc=bernd@kuhls.net \
--cc=thomas.petazzoni@bootlin.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox