summaryrefslogtreecommitdiff
path: root/lib/avb/libavb/avb_footer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/avb/libavb/avb_footer.c')
-rw-r--r--lib/avb/libavb/avb_footer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/avb/libavb/avb_footer.c b/lib/avb/libavb/avb_footer.c
index b8b8211..5f6ed71 100644
--- a/lib/avb/libavb/avb_footer.c
+++ b/lib/avb/libavb/avb_footer.c
@@ -45,7 +45,7 @@ bool avb_footer_validate_and_byteswap(const AvbFooter* src, AvbFooter* dest) {
/* Ensure we don't attempt to access any fields if the footer major
* version is not supported.
*/
- if (dest->version_major > AVB_FOOTER_VERSION_MAJOR) {
+ if (dest->version_major > AVB_FOOTER_MAJOR_VERSION) {
avb_error("No support for footer version.\n");
return false;
}