summaryrefslogtreecommitdiff
path: root/lib/variables.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2017-10-19 14:43:18 -0400
committerPeter Jones <pmjones@gmail.com>2018-03-12 16:21:43 -0400
commitb953468e91eac48d2e3817f18cd604e20f39c56b (patch)
tree89a6bf338b4dc3202a6d1cf283cd9beb1c97a02b /lib/variables.c
parent4d70f104818b947873698b5d9ba79e374e5b7586 (diff)
downloadefi-boot-shim-b953468e91eac48d2e3817f18cd604e20f39c56b.tar.gz
efi-boot-shim-b953468e91eac48d2e3817f18cd604e20f39c56b.zip
Don't have tons of local guid definitions for no reason at all.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/variables.c')
-rw-r--r--lib/variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/variables.c b/lib/variables.c
index 1fd95a7f..0abd6a09 100644
--- a/lib/variables.c
+++ b/lib/variables.c
@@ -323,7 +323,7 @@ variable_enroll_hash(CHAR16 *var, EFI_GUID owner,
l->SignatureListSize = sizeof(sig);
l->SignatureSize = 16 +32; /* UEFI defined */
CopyMem(&d->SignatureData, hash, SHA256_DIGEST_SIZE);
- d->SignatureOwner = MOK_OWNER;
+ d->SignatureOwner = SHIM_LOCK_GUID;
if (CompareGuid(&owner, &SIG_DB) == 0)
status = SetSecureVariable(var, sig, sizeof(sig), owner,