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