9
0
Fork 0

Fix sha224sum panic by registering SHA224 hash name.

barebox:/ sha224sum
BUG: failure at commands/digest.c:40/do_digest()!

Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Krzysztof Halasa 2012-06-07 15:03:15 +02:00 committed by Sascha Hauer
parent 6815e0d054
commit 76049e05fa
1 changed files with 1 additions and 0 deletions

View File

@ -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,