summaryrefslogtreecommitdiff
path: root/include/variables.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2014-06-25 10:55:56 -0400
committerPeter Jones <pjones@redhat.com>2014-06-25 10:55:56 -0400
commit9ea3d9b401ed73ae95b60e6b566f9293af3ac4d7 (patch)
tree9a6c818be0a99eb80d7ce165cb31b90ecae4eb04 /include/variables.h
parent7a72592b75879542e9ebd808868f83a78bdfbbc6 (diff)
downloadefi-boot-shim-9ea3d9b401ed73ae95b60e6b566f9293af3ac4d7.tar.gz
efi-boot-shim-9ea3d9b401ed73ae95b60e6b566f9293af3ac4d7.zip
Make sure we default to assuming we're locked down.
If "SecureBoot" exists but "SetupMode" does not, assume "SetupMode" says we're not in Setup Mode. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include/variables.h')
-rw-r--r--include/variables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/variables.h b/include/variables.h
index b207dbf3..deed269c 100644
--- a/include/variables.h
+++ b/include/variables.h
@@ -50,7 +50,7 @@ SETOSIndicationsAndReboot(UINT64 indications);
int
variable_is_secureboot(void);
int
-variable_is_setupmode(void);
+variable_is_setupmode(int default_return);
EFI_STATUS
variable_enroll_hash(CHAR16 *var, EFI_GUID owner,
UINT8 hash[SHA256_DIGEST_SIZE]);