1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-04-28 06:33:36 +02:00

ima-evm-utils: fix spelling error

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
This commit is contained in:
Mimi Zohar 2018-01-16 15:46:35 -05:00
parent ba92e44719
commit 838b08b449

View File

@ -1310,7 +1310,7 @@ void ima_extend_pcr(uint8_t *pcr, uint8_t *digest, int length)
SHA1_Final(pcr, &ctx); SHA1_Final(pcr, &ctx);
} }
static int ima_verify_tamplate_hash(struct template_entry *entry) static int ima_verify_template_hash(struct template_entry *entry)
{ {
uint8_t digest[SHA_DIGEST_LENGTH]; uint8_t digest[SHA_DIGEST_LENGTH];
@ -1446,7 +1446,7 @@ static int ima_measurement(const char *file)
} }
if (validate) if (validate)
ima_verify_tamplate_hash(&entry); ima_verify_template_hash(&entry);
if (!strcmp(entry.name, "ima")) if (!strcmp(entry.name, "ima"))
ima_show(&entry); ima_show(&entry);