efi_loader: add missing validation of timestamp
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 1 Jul 2020 10:44:00 +0000 (12:44 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 3 Jul 2020 16:03:41 +0000 (18:03 +0200)
commit33f183f68b76226a1053694418d2c283371bee72
treebf18aa410f8092417033a9394b59d5d340d02b66
parentae54b946ca03d92f5d9efdf575a0e7940fb5482f
efi_loader: add missing validation of timestamp

The UEFI specification requires that when UEFI variables are set using time
based authentication we have to check that unused fields of the timestamp
are zero

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_variable.c