Add back debug output of hashed nodes
Commit 2092322b31 ("boot: Add fit_config_get_hash_list() to build
signed node list") removed printing the list of hashed nodes during
verification. Add it back to have a chance to compare the list when
debugging.
Signed-off-by: Ludwig Nussel <ludwig.nussel@siemens.com>
This commit is contained in:
@@ -476,6 +476,10 @@ static int fit_config_check_sig(const void *fit, int noffset, int conf_noffset,
|
||||
return -1;
|
||||
}
|
||||
|
||||
debug("Hash nodes (%d):\n", count);
|
||||
for (int i = 0; i < count; ++i)
|
||||
debug(" '%s'\n", node_inc[i]);
|
||||
|
||||
/*
|
||||
* Each node can generate one region for each sub-node. Allow for
|
||||
* 7 sub-nodes (hash-1, signature-1, etc.) and some extra.
|
||||
|
||||
Reference in New Issue
Block a user