This allows testing multiple verify in a row, similar to ima_measurement. Signed-off-by: Vitaly Chikunov <vt@xxxxxxxxxxxx> --- src/evmctl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/evmctl.c b/src/evmctl.c index fac593a..7ce2022 100644 --- a/src/evmctl.c +++ b/src/evmctl.c @@ -850,9 +850,11 @@ static int cmd_verify_ima(struct command *cmd) return -1; } - err = verify_ima(file); - if (!err && params.verbose >= LOG_INFO) - log_info("%s: verification is OK\n", file); + do { + err = verify_ima(file); + if (!err && params.verbose >= LOG_INFO) + log_info("%s: verification is OK\n", file); + } while ((file = g_argv[optind++])); return err; } -- 2.11.0