[PATCH] common: hash: Remove a debug printf statement

Harald Seiler hws at denx.de
Mon Jun 15 09:47:04 CEST 2020


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

Notes:
    Just noticed the SHA512 patch seems to still contain
    a left-over debug printf.

 common/hash.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/hash.c b/common/hash.c
index 5c75848b7d92..05238a8ba91e 100644
--- a/common/hash.c
+++ b/common/hash.c
@@ -146,8 +146,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.25.4



More information about the U-Boot mailing list