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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user