diff options
author | James Bottomley <JBottomley@Parallels.com> | 2012-12-31 15:51:42 +0000 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-12-31 15:51:42 +0000 |
commit | 57d435979dc639158fc67be4a4b8a8a93632b9ac (patch) | |
tree | ecbf8caa455a306751e5190d7a96278fb31f98f1 | |
parent | 7a0a9ae3178967a616c34591d2401ad8b89c4173 (diff) | |
download | efitools-57d435979dc639158fc67be4a4b8a8a93632b9ac.tar.gz |
KeyTool: should still be able to delete MOK entries in user mode
-rw-r--r-- | KeyTool.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; } |