summaryrefslogtreecommitdiff
path: root/tools/image-host.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-12-19 09:10:48 -0600
committerTom Rini <trini@konsulko.com>2024-12-19 09:14:34 -0600
commit078542c346347406cfacdec8adeac66ae6758880 (patch)
tree9f9595f90f31df739d496f2f460b7142d7f9d939 /tools/image-host.c
parent337bfdce5aa52637b482b182db959b9bb058f4b7 (diff)
parente7d7d3307c6109f2bec5dd5ba779996dd891348d (diff)
Merge branch '2024-12-19-assorted-tooling-updates' into next
This brings in assortment of updates to our python tooling, from Paul HENRYS <paul.henrys_ext@softathome.com>
Diffstat (limited to 'tools/image-host.c')
-rw-r--r--tools/image-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/image-host.c b/tools/image-host.c
index 5e01b853c50..16389bd4880 100644
--- a/tools/image-host.c
+++ b/tools/image-host.c
@@ -535,7 +535,7 @@ fit_image_process_cipher(const char *keydir, void *keydest, void *fit,
* size values
* And, if needed, write the iv in the FIT file
*/
- if (keydest) {
+ if (keydest || (!keydest && !info.ivname)) {
ret = info.cipher->add_cipher_data(&info, keydest, fit, node_noffset);
if (ret) {
fprintf(stderr,