1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-07-02 13:43:16 +02:00

ima-evm-utils: Show used hash algo in verbose mode

This could be useful for users.

Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
Vitaly Chikunov
2019-07-25 09:13:06 +03:00
committed by Mimi Zohar
parent 25fce6e76a
commit a1b149bda4
2 changed files with 2 additions and 2 deletions

View File

@ -605,7 +605,7 @@ static int hash_ima(const char *file)
len += offset;
if (params.verbose >= LOG_INFO)
log_info("hash: ");
log_info("hash(%s): ", params.hash_algo);
if (sigdump || params.verbose >= LOG_INFO)
dump(hash, len);