efi_loader: time based authentication
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 1 Jul 2020 13:32:47 +0000 (15:32 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 3 Jul 2020 16:03:41 +0000 (18:03 +0200)
commitcb7116030aff44f48f29bdc3bd7ed22f7ad74bb9
tree37d32042bb1e93f18c1c46e1c96eb0c93e8beef9
parent33f183f68b76226a1053694418d2c283371bee72
efi_loader: time based authentication

When overwriting an existing time base authenticated variable we should
compare to the preceding time value and not to the start of the epoch.

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