mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-08-03 05:32:51 +00:00
Fix the size of MokDBState
MokDBState is a 8-bit unsigned integer. Looks like a typo here. Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
parent
3d79bcb265
commit
9249fc2849
2
shim.c
2
shim.c
@ -2070,7 +2070,7 @@ static EFI_STATUS check_mok_db (void)
|
||||
EFI_GUID shim_lock_guid = SHIM_LOCK_GUID;
|
||||
EFI_STATUS status = EFI_SUCCESS;
|
||||
UINT8 MokDBState;
|
||||
UINTN MokDBStateSize = sizeof(MokDBStateSize);
|
||||
UINTN MokDBStateSize = sizeof(MokDBState);
|
||||
UINT32 attributes;
|
||||
|
||||
status = uefi_call_wrapper(RT->GetVariable, 5, L"MokDBState", &shim_lock_guid,
|
||||
|
Loading…
Reference in New Issue
Block a user