summaryrefslogtreecommitdiff
path: root/src/libimcv/pts/components/ita/ita_comp_tgrub.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libimcv/pts/components/ita/ita_comp_tgrub.c')
-rw-r--r--src/libimcv/pts/components/ita/ita_comp_tgrub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libimcv/pts/components/ita/ita_comp_tgrub.c b/src/libimcv/pts/components/ita/ita_comp_tgrub.c
index 097e4c89c..e9555726a 100644
--- a/src/libimcv/pts/components/ita/ita_comp_tgrub.c
+++ b/src/libimcv/pts/components/ita/ita_comp_tgrub.c
@@ -141,7 +141,7 @@ METHOD(pts_component_t, verify, status_t,
has_pcr_info = evidence->get_pcr_info(evidence, &pcr_before, &pcr_after);
if (has_pcr_info)
{
- if (!chunk_equals(pcr_before, pcrs->get(pcrs, extended_pcr)))
+ if (!chunk_equals_const(pcr_before, pcrs->get(pcrs, extended_pcr)))
{
DBG1(DBG_PTS, "PCR %2u: pcr_before is not equal to pcr value");
}