summaryrefslogtreecommitdiff
path: root/firmware/lib21/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib21/common.c')
-rw-r--r--firmware/lib21/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib21/common.c b/firmware/lib21/common.c
index 5adbf7ae..7a06c8c3 100644
--- a/firmware/lib21/common.c
+++ b/firmware/lib21/common.c
@@ -359,7 +359,7 @@ int vb2_verify_keyblock(struct vb2_keyblock *block,
return rv;
/* Skip signature if it doesn't match the key GUID */
- if (memcmp(&sig->guid, key->guid, GUID_SIZE))
+ if (memcmp(&sig->guid, key->guid, NUM_GUID_BYTES))
continue;
/* Make sure we signed the right amount of data */