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:
parent
6815e0d054
commit
76049e05fa
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue