diff options
Diffstat (limited to 'tools/fit_common.c')
-rw-r--r-- | tools/fit_common.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/fit_common.c b/tools/fit_common.c index 5ea43f5fec8..01649760ac0 100644 --- a/tools/fit_common.c +++ b/tools/fit_common.c @@ -175,3 +175,16 @@ int copyfile(const char *src, const char *dst) return ret; } + +void summary_show(struct image_summary *summary, const char *imagefile, + const char *keydest) +{ + if (summary->sig_offset) { + printf("Signature written to '%s', node '%s'\n", imagefile, + summary->sig_path); + if (keydest) { + printf("Public key written to '%s', node '%s'\n", + keydest, summary->keydest_path); + } + } +} |