summaryrefslogtreecommitdiff
path: root/mok.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2025-02-18 15:10:22 -0500
committerPeter Jones <pjones@redhat.com>2025-02-24 15:26:20 -0500
commitb216543d691050d6cdd37c3500571cf67882f1bc (patch)
tree7ea0f8c843de09c4117544e33f49ec1ba4a13229 /mok.c
parentf0958baa7cc0fcce0de09323d89dda7bf23afec3 (diff)
downloadefi-boot-shim-b216543d691050d6cdd37c3500571cf67882f1bc.tar.gz
efi-boot-shim-b216543d691050d6cdd37c3500571cf67882f1bc.zip
Move mok state variable data flag definitions to the header.
Previously the mok mirror state flags were only used in the mok mirroring code. But there are other consumers of that data, namely our variable test cases, and it's useful for them to be able to check the flags. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'mok.c')
-rw-r--r--mok.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mok.c b/mok.c
index 5c7f9a2b..f98e36de 100644
--- a/mok.c
+++ b/mok.c
@@ -144,13 +144,6 @@ categorize_deauthorized(struct mok_state_variable *v)
return VENDOR_ADDEND_DB;
}
-#define MOK_MIRROR_KEYDB 0x01
-#define MOK_MIRROR_DELETE_FIRST 0x02
-#define MOK_VARIABLE_MEASURE 0x04
-#define MOK_VARIABLE_LOG 0x08
-#define MOK_VARIABLE_INVERSE 0x10
-#define MOK_VARIABLE_CONFIG_ONLY 0x20
-
struct mok_state_variable mok_state_variable_data[] = {
{.name = L"MokList",
.name8 = "MokList",