aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2012-12-31 15:51:42 +0000
committerJames Bottomley <JBottomley@Parallels.com>2012-12-31 15:51:42 +0000
commit57d435979dc639158fc67be4a4b8a8a93632b9ac (patch)
treeecbf8caa455a306751e5190d7a96278fb31f98f1
parent7a0a9ae3178967a616c34591d2401ad8b89c4173 (diff)
downloadefitools-57d435979dc639158fc67be4a4b8a8a93632b9ac.tar.gz
KeyTool: should still be able to delete MOK entries in user mode
-rw-r--r--KeyTool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/KeyTool.c b/KeyTool.c
index ca71482..13d021f 100644
--- a/KeyTool.c
+++ b/KeyTool.c
@@ -259,7 +259,7 @@ show_key(int key, int offset, void *Data, int DataSize)
int o = 0;
int option_delete = -1, option_delete_w_auth = -1, option_save = -1;
- if (variable_is_setupmode()) {
+ if (variable_is_setupmode() || key == KEY_MOK) {
option_delete = o;
options[o++] = L"Delete";
}