diff options
Diffstat (limited to 'security/integrity/ima/ima_template_lib.c')
-rw-r--r-- | security/integrity/ima/ima_template_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/ima/ima_template_lib.c b/security/integrity/ima/ima_template_lib.c index c2ba481f0f39..4752a539f69a 100644 --- a/security/integrity/ima/ima_template_lib.c +++ b/security/integrity/ima/ima_template_lib.c | |||
@@ -239,8 +239,8 @@ int ima_eventdigest_init(struct integrity_iint_cache *iint, struct file *file, | |||
239 | cur_digest = hash.hdr.digest; | 239 | cur_digest = hash.hdr.digest; |
240 | cur_digestsize = hash.hdr.length; | 240 | cur_digestsize = hash.hdr.length; |
241 | out: | 241 | out: |
242 | return ima_eventdigest_init_common(cur_digest, cur_digestsize, -1, | 242 | return ima_eventdigest_init_common(cur_digest, cur_digestsize, |
243 | field_data, true); | 243 | HASH_ALGO__LAST, field_data, true); |
244 | } | 244 | } |
245 | 245 | ||
246 | /* | 246 | /* |