Skip to content
Commit 9fab303a authored by Mimi Zohar's avatar Mimi Zohar
Browse files

ima: fix violation measurement list record



Although the violation digest in the IMA measurement list is always
zeroes, the size of the digest should be based on the hash algorithm.
Until recently the hash algorithm was hard coded to sha1.  Fix the
violation digest size included in the IMA measurement list.

This is just a cosmetic change which should not affect attestation.

Reported-by: default avatarStefan Berger <stefanb@linux.ibm.com>
Fixes: 09091c44 ("ima: use IMA default hash algorithm for integrity violations")
Tested-by: default avatarStefan Berger <stefanb@linux.ibm.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent 51dd64bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment