U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Golle <daniel@makrotopia.org>
To: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,
	Chia-Wei Wang <chiawei_wang@aspeedtech.com>,
	u-boot@lists.denx.de
Cc: "Thomas Hühn" <thomas.huehn@hs-nordhausen.de>
Subject: Re: [PATCH 2/2] tools/fit_check_sign: make key optional
Date: Sat, 29 Mar 2025 05:08:23 +0000	[thread overview]
Message-ID: <Z-eARwyqRb6B7dR-@makrotopia.org> (raw)
In-Reply-To: <1f0c5a1f7e84f638f921278284ff6245d78e730d.1743217745.git.daniel@makrotopia.org>

On Sat, Mar 29, 2025 at 03:13:01AM +0000, Daniel Golle wrote:
> Allow invoking fit_check_sig without the key parameter, allowing to
> validate only checksums and hashes for unsigned images.

Sadly I've missed making the munmap() of the key_blob conditional as
well, and while glibc seems to be graceful about munmap(NULL) other libc
like musl are not.

I will fix that in v2.

      reply	other threads:[~2025-03-29  5:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-29  3:12 [PATCH 1/2] image-fit-sig: skip in tools build if key is missing Daniel Golle
2025-03-29  3:13 ` [PATCH 2/2] tools/fit_check_sign: make key optional Daniel Golle
2025-03-29  5:08   ` Daniel Golle [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=Z-eARwyqRb6B7dR-@makrotopia.org \
    --to=daniel@makrotopia.org \
    --cc=chiawei_wang@aspeedtech.com \
    --cc=sjg@chromium.org \
    --cc=thomas.huehn@hs-nordhausen.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox