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:
Joseph Chen 2020-03-08 14:15:47 +08:00 committed by Jianhong Chen
parent f965884c36
commit f63c73dbcf
1 changed files with 0 additions and 4 deletions

View File

@ -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;
} }