From 838b08b44901855e3d44865fea232df0e24745d4 Mon Sep 17 00:00:00 2001 From: Mimi Zohar Date: Tue, 16 Jan 2018 15:46:35 -0500 Subject: [PATCH] ima-evm-utils: fix spelling error Signed-off-by: Mimi Zohar --- src/evmctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evmctl.c b/src/evmctl.c index a6c6e01..746fc09 100644 --- a/src/evmctl.c +++ b/src/evmctl.c @@ -1310,7 +1310,7 @@ void ima_extend_pcr(uint8_t *pcr, uint8_t *digest, int length) 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]; @@ -1446,7 +1446,7 @@ static int ima_measurement(const char *file) } if (validate) - ima_verify_tamplate_hash(&entry); + ima_verify_template_hash(&entry); if (!strcmp(entry.name, "ima")) ima_show(&entry);