From 27a8fc9fd1f94526965713e0b6b362df49e5569e Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Sat, 6 Oct 2012 17:22:33 -0400 Subject: [PATCH] Always show the MokManager UI If someone explicitly starts MokManager then we want to show the UI --- MokManager.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/MokManager.c b/MokManager.c index 13e156e..3325bb3 100644 --- a/MokManager.c +++ b/MokManager.c @@ -1029,13 +1029,8 @@ static EFI_STATUS check_mok_request(EFI_HANDLE image_handle) MokNew = LibGetVariableAndSize(L"MokNew", &shim_lock_guid, &MokNewSize); - if (MokNew == NULL || MokNewSize < sizeof(UINT32)) { - goto error; - } - enter_mok_menu(image_handle, MokNew); -error: if (MokNew) { if (LibDeleteVariable(L"MokNew", &shim_lock_guid) != EFI_SUCCESS) { Print(L"Failed to delete MokNew\n");