1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-09-15 08:33:50 +02:00

Include the file name in "ima_measurement" verification result

When displaying the measurement list, include the filename in the result.

Signed-of-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
This commit is contained in:
Mimi Zohar
2018-02-05 22:23:01 -05:00
parent c2ef2aabe2
commit 057efc397d
3 changed files with 22 additions and 19 deletions

View File

@@ -765,7 +765,7 @@ static int verify_evm(const char *file)
return -1;
}
return verify_hash(hash, sizeof(hash), sig + 1, len - 1);
return verify_hash(file, hash, sizeof(hash), sig + 1, len - 1);
}
static int cmd_verify_evm(struct command *cmd)