tools: image-host: not allow keys to be missing
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ibae5d152244721926189fa3873d113bde212b4fb
This commit is contained in:
parent
f965884c36
commit
f63c73dbcf
|
|
@ -600,10 +600,6 @@ static int fit_config_process_sig(const char *keydir, void *keydest,
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printf("Failed to sign '%s' signature node in '%s' conf node\n",
|
printf("Failed to sign '%s' signature node in '%s' conf node\n",
|
||||||
node_name, conf_name);
|
node_name, conf_name);
|
||||||
|
|
||||||
/* We allow keys to be missing */
|
|
||||||
if (ret == -ENOENT)
|
|
||||||
return 0;
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue