summaryrefslogtreecommitdiff
path: root/shim.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2012-11-27 23:52:27 -0500
committerMatthew Garrett <mjg59@srcf.ucam.org>2012-11-27 23:52:27 -0500
commit9c0c64ebde4ec504fc4e4d92ea18b889b1ccd498 (patch)
treed96f123803050e2261bc7216cce867aa2983cc80 /shim.c
parent6d50f87a06ff70d2075863f4c145235c081263d6 (diff)
downloadefi-boot-shim-9c0c64ebde4ec504fc4e4d92ea18b889b1ccd498.tar.gz
efi-boot-shim-9c0c64ebde4ec504fc4e4d92ea18b889b1ccd498.zip
Remove debug code
secure_mode() was altered to always return true for debug purposes, and this accidentally got committed to mainline. Fix that.
Diffstat (limited to 'shim.c')
-rw-r--r--shim.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shim.c b/shim.c
index 4d490b91..c3aae9e0 100644
--- a/shim.c
+++ b/shim.c
@@ -416,8 +416,6 @@ static BOOLEAN secure_mode (void)
UINT8 sb, setupmode;
UINT32 attributes;
- return TRUE;
-
if (insecure_mode)
return FALSE;