commit | 5106dc72d1e1f2d5c1d87cb198a2da67aed95f5f | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Jun 30 12:02:14 2020 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Jul 03 18:03:47 2020 +0200 |
tree | 6eef8e0ae1f22e82c88e5ab1cd9b37eb607f5ae0 | |
parent | 273df96e3b81186f4cb4f4c1539709f66b8df4a8 [diff] |
efi_loader: rtc_mktime() called twice Don't call rtc_mktime() twice with the same argument in efi_variable_authenticate(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c index 4d49fd6..efaba86 100644 --- a/lib/efi_loader/efi_variable.c +++ b/lib/efi_loader/efi_variable.c
@@ -577,7 +577,7 @@ } /* finished checking */ - *time = rtc_mktime(&tm); + *time = new_time; ret = EFI_SUCCESS; err: