From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Yegor Yefremov <yegorslists@googlemail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/iperf3: fix build with LibreSSL
Date: Tue, 20 Oct 2026 11:06:25 +0200 [thread overview]
Message-ID: <atcvDaG0ITZz3FPm@windsurf> (raw)
In-Reply-To: <20261020081557.2965981-1-yegorslists@googlemail.com>
On Tue, Oct 20, 2026 at 10:15:57AM +0200, Yegor Yefremov wrote:
> iperf3 3.22 added a new "goto errreturn" to decrypt_rsa_message(), on
> a code path that is common to all OpenSSL versions, but the
> errreturn label is only defined when OPENSSL_VERSION_MAJOR >= 3.
> LibreSSL does not define OPENSSL_VERSION_MAJOR, so the build fails
> with:
>
> iperf_auth.c: In function 'decrypt_rsa_message':
> iperf_auth.c:343:9: error: label 'errreturn' used but not defined
> 343 | goto errreturn; /* or: return 0; — never read more than output_buffer_len bytes */
> | ^~~~
>
> Backport the upstream commit that defines the label unconditionally.
>
> This issue has been present since commit cb129a641b40 ("package/iperf3:
> security bump version to 3.22"), as the broken code first appeared in
> iperf 3.22. That commit is not part of any release nor of any
> maintenance branch yet, so only master is affected, but this fix
> should go along with the 3.22 bump if it gets backported.
>
> Fixes:
> https://autobuild.buildroot.org/results/6ed8f60f56f7fcd11eaa1ba160837275b8113e1a
>
> Fixes: cb129a641b403cfc4c1b2ea9280b966e19837b62 ("package/iperf3: security bump version to 3.22")
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
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
prev parent reply other threads:[~2026-10-20 9:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 8:15 [Buildroot] [PATCH] package/iperf3: fix build with LibreSSL Yegor Yefremov
2026-10-20 9:06 ` Thomas Petazzoni via buildroot [this message]
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=atcvDaG0ITZz3FPm@windsurf \
--to=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=yegorslists@googlemail.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