fix(cert-create): change WARN to VERBOSE

SAVE_KEYS is set to '0' by default, causing 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
This commit is contained in:
laurenw-arm 2023-02-08 13:14:54 -06:00
parent 6264643a07
commit 76a85cfa0a

View file

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