Hi Baruch,
I have uploaded your patches to review.trustedfirmware.org and they are now in review: https://review.trustedfirmware.org/q/topic:%22cert-create%22+(status:open%20...).
Thanks! Lauren
-----Original Message----- From: Baruch Siach baruch@tkos.co.il Sent: Sunday, January 29, 2023 9:40 AM To: Sandrine Bailleux Sandrine.Bailleux@arm.com; Manish Badarkhe Manish.Badarkhe@arm.com; Lauren Wehrmeister Lauren.Wehrmeister@arm.com Cc: tf-a@lists.trustedfirmware.org; Baruch Siach baruch@tkos.co.il Subject: [PATCH 2/2] fix(cert-create): demote missing key filename message
SAVE_KEYS is set to '0' by default, casing cert_create to show the 'Key filename not specified' message on each run even though this is perfectly normal. Show the message only in the VERBOSE log level.
Signed-off-by: Baruch Siach baruch@tkos.co.il Change-Id: I472cdec2670055ab0edd99d172f79d01ad575972 --- tools/cert_create/src/key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/cert_create/src/key.c b/tools/cert_create/src/key.c index 487777b67046..27ec979ebb7e 100644 --- a/tools/cert_create/src/key.c +++ b/tools/cert_create/src/key.c @@ -212,7 +212,7 @@ int key_load(key_t *key, unsigned int *err_code) *err_code = KEY_ERR_OPEN; } } else { - WARN("Key filename not specified\n"); + VERBOSE("Key filename not specified\n"); *err_code = KEY_ERR_FILENAME; }
-- 2.39.0