Skip to content
Commit c502c78b authored by Roberto Sassu's avatar Roberto Sassu Committed by Mimi Zohar
Browse files

ima: change the default hash algorithm to SHA1 in ima_eventdigest_ng_init()



Replace HASH_ALGO__LAST with HASH_ALGO_SHA1 as the initial value of
the hash algorithm so that the prefix 'sha1:' is added to violation
digests.

Fix commit:
  4d7aeee7 ima: define new template ima-ng and template fields d-ng and n-ng

Signed-off-by: default avatarRoberto Sassu <roberto.sassu@polito.it>
Cc: <stable@vger.kernel.org> # 3.13.x
Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
parent 4482a44f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment