diff options
| author | Matthew Garrett <mjg@redhat.com> | 2012-10-23 13:01:48 -0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2012-10-23 13:01:48 -0400 |
| commit | 868d5b903801fded444d03a92c7a371af6fe32ce (patch) | |
| tree | 70c7310280ce7905fabc4aa3f48e957268692c67 /MokManager.c | |
| parent | d5a2d9ea083f329f71a9cc5c3aac45b60fa60b93 (diff) | |
| download | efi-boot-shim-868d5b903801fded444d03a92c7a371af6fe32ce.tar.gz efi-boot-shim-868d5b903801fded444d03a92c7a371af6fe32ce.zip | |
Delete MokList properly
A cut and paste error meant that attempts to delete MokList were instead
appending a zero-length addition.
Diffstat (limited to 'MokManager.c')
| -rw-r--r-- | MokManager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MokManager.c b/MokManager.c index 282fbc6a..9e2fdf82 100644 --- a/MokManager.c +++ b/MokManager.c @@ -615,8 +615,7 @@ static EFI_STATUS store_keys (void *MokNew, UINTN MokNewSize, int authenticate) efi_status = uefi_call_wrapper(RT->SetVariable, 5, L"MokList", &shim_lock_guid, EFI_VARIABLE_NON_VOLATILE - | EFI_VARIABLE_BOOTSERVICE_ACCESS - | EFI_VARIABLE_APPEND_WRITE, + | EFI_VARIABLE_BOOTSERVICE_ACCESS, 0, NULL); } else { /* Write new MOK */ |
