This allows testing verify_hash_v2() with multiple public keys. Signed-off-by: Vitaly Chikunov <vt@xxxxxxxxxxxx> --- src/evmctl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/evmctl.c b/src/evmctl.c index 4e0a831..fac593a 100644 --- a/src/evmctl.c +++ b/src/evmctl.c @@ -840,6 +840,9 @@ static int cmd_verify_ima(struct command *cmd) char *file = g_argv[optind++]; int err; + if (params.keyfile) + init_public_keys(params.keyfile); + errno = 0; if (!file) { log_err("Parameters missing\n"); -- 2.11.0