[PATCH u-boot v2019.04-aspeed-openbmc 6/7] common: hash: Remove a debug printf statement

Joel Stanley joel at jms.id.au
Thu Jan 28 21:53:03 AEDT 2021


From: Harald Seiler <hws at denx.de>

Remove a left-over debug printf that was introduced with SHA512 support.

Fixes: d16b38f42704 ("Add support for SHA384 and SHA512")
Signed-off-by: Harald Seiler <hws at denx.de>
(cherry picked from commit 7a81989b7b04bd87d1e684f2bafdc92a9c16fecc)
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 common/hash.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/hash.c b/common/hash.c
index d32cd9fa1c18..c00ec4d36c41 100644
--- a/common/hash.c
+++ b/common/hash.c
@@ -136,8 +136,6 @@ static int hash_finish_sha512(struct hash_algo *algo, void *ctx, void
 	if (size < algo->digest_size)
 		return -1;
 
-	printf("hello world\n");
-
 	sha512_finish((sha512_context *)ctx, dest_buf);
 	free(ctx);
 	return 0;
-- 
2.29.2



More information about the openbmc mailing list