diff options
Diffstat (limited to 'security/integrity/ima/ima_api.c')
-rw-r--r-- | security/integrity/ima/ima_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_api.c b/security/integrity/ima/ima_api.c index 5a7942e20814..2cc5dcc6bdeb 100644 --- a/security/integrity/ima/ima_api.c +++ b/security/integrity/ima/ima_api.c | |||
@@ -46,7 +46,7 @@ int ima_store_template(struct ima_template_entry *entry, | |||
46 | int result; | 46 | int result; |
47 | struct { | 47 | struct { |
48 | struct ima_digest_data hdr; | 48 | struct ima_digest_data hdr; |
49 | char digest[IMA_MAX_DIGEST_SIZE]; | 49 | char digest[TPM_DIGEST_SIZE]; |
50 | } hash; | 50 | } hash; |
51 | 51 | ||
52 | memset(entry->digest, 0, sizeof(entry->digest)); | 52 | memset(entry->digest, 0, sizeof(entry->digest)); |