From f63c73dbcf887c95e2a22822f6c18321edd83fb9 Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Sun, 8 Mar 2020 14:15:47 +0800 Subject: [PATCH] tools: image-host: not allow keys to be missing Signed-off-by: Joseph Chen Change-Id: Ibae5d152244721926189fa3873d113bde212b4fb --- tools/image-host.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/image-host.c b/tools/image-host.c index c60d4adb3d..63995b60d4 100644 --- a/tools/image-host.c +++ b/tools/image-host.c @@ -600,10 +600,6 @@ static int fit_config_process_sig(const char *keydir, void *keydest, if (ret) { printf("Failed to sign '%s' signature node in '%s' conf node\n", node_name, conf_name); - - /* We allow keys to be missing */ - if (ret == -ENOENT) - return 0; return -1; }