From 935b865b94f14ae8d0a3a20924eefc76e763847b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Tue, 30 Jul 2024 12:35:54 +0200 Subject: [PATCH] Update util/txesbmantool/txesbmantool.c Co-authored-by: Krystian Hebel --- util/txesbmantool/txesbmantool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/txesbmantool/txesbmantool.c b/util/txesbmantool/txesbmantool.c index 3709774db73..22b001ff425 100644 --- a/util/txesbmantool/txesbmantool.c +++ b/util/txesbmantool/txesbmantool.c @@ -776,7 +776,7 @@ static int print_key_hash_from_manifest(const struct manifest *man) int ret; wc_Sha256 sha256; const struct key_signature *key_struct; - uint8_t key_hash[32]; + uint8_t key_hash[WC_SHA256_DIGEST_SIZE]; key_struct = &man->key_sig;