projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a373e5
)
efi_loader: rtc_mktime() called twice
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Tue, 30 Jun 2020 10:02:14 +0000
(12:02 +0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Fri, 3 Jul 2020 16:03:47 +0000
(18:03 +0200)
Don't call rtc_mktime() twice with the same argument in
efi_variable_authenticate().
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_variable.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_variable.c
b/lib/efi_loader/efi_variable.c
index 4d49fd60dcb00434f46d734792f98dc4803e1a8f..efaba869ef21d88221ad8b4f7ffe55e391f77c45 100644
(file)
--- a/
lib/efi_loader/efi_variable.c
+++ b/
lib/efi_loader/efi_variable.c
@@
-577,7
+577,7
@@
static efi_status_t efi_variable_authenticate(u16 *variable,
}
/* finished checking */
- *time =
rtc_mktime(&tm)
;
+ *time =
new_time
;
ret = EFI_SUCCESS;
err: