Skip to content
Snippets Groups Projects
Commit 31e6cc7e authored by Jonas Höglund's avatar Jonas Höglund
Browse files

Don't print the algo with the hash.

parent 9246b1c3
Branches
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ static const char * const usage_opts_help[] = {
"List images embedded in FIT",
"Extract image from FIT",
"Output image name",
"Hash of image",
"SHA256 hash of image",
"Get attribute of FIT",
USAGE_COMMON_OPTS_HELP
};
......@@ -174,7 +174,6 @@ static int get_hash(char *buf, char *name)
/* Print the hash. */
val = (uint8_t *)fdt_getprop(buf, noffset, "value", NULL);
printf("%s ", algo);
for (i=0; i<SHA_256_LEN; i++)
printf("%x", val[i]);
printf("\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment