From: Sascha Hauer <s.hauer@pengutronix.de>
To: Krzysztof Halasa <khc@pm.waw.pl>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] Fix sha224sum panic by registering SHA224 hash name.
Date: Thu, 7 Jun 2012 19:40:40 +0200 [thread overview]
Message-ID: <20120607174040.GL30400@pengutronix.de> (raw)
In-Reply-To: <m3ehprl1f0.fsf@intrepid.localdomain>
Hi Krzysztof,
On Thu, Jun 07, 2012 at 03:03:15PM +0200, Krzysztof Halasa wrote:
> barebox:/ sha224sum
> BUG: failure at commands/digest.c:40/do_digest()!
>
> Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
>
Applied to master (also the other two patches)
Thanks
Sascha
> diff --git a/crypto/sha2.c b/crypto/sha2.c
> index 17303e6..3096efe 100644
> --- a/crypto/sha2.c
> +++ b/crypto/sha2.c
> @@ -313,6 +313,7 @@ static int digest_sha224_init(struct digest *d)
>
> static struct sha2 m224 = {
> .d = {
> + .name = "sha224",
> .init = digest_sha224_init,
> .update = digest_sha2_update,
> .final = digest_sha2_final,
>
> --
> Krzysztof Halasa
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2012-06-07 17:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-07 13:03 Krzysztof Halasa
2012-06-07 17:40 ` Sascha Hauer [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=20120607174040.GL30400@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=khc@pm.waw.pl \
/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