diff options
| author | Matthew Garrett <mjg@redhat.com> | 2012-10-06 17:22:33 -0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2012-10-06 17:22:33 -0400 |
| commit | 27a8fc9fd1f94526965713e0b6b362df49e5569e (patch) | |
| tree | 724e7d09955646eae05c2363a00572166ba81068 /MokManager.c | |
| parent | 8cf182af8b89e7b7032586d2d85bce761d0f3309 (diff) | |
| download | efi-boot-shim-27a8fc9fd1f94526965713e0b6b362df49e5569e.tar.gz efi-boot-shim-27a8fc9fd1f94526965713e0b6b362df49e5569e.zip | |
Always show the MokManager UI
If someone explicitly starts MokManager then we want to show the UI
Diffstat (limited to 'MokManager.c')
| -rw-r--r-- | MokManager.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/MokManager.c b/MokManager.c index 13e156ec..3325bb30 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"); |
