diff options
| author | Peter Jones <pjones@redhat.com> | 2014-06-25 10:55:56 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2014-06-25 10:55:56 -0400 |
| commit | eb4cb6a50981f9ef4698b3847bd32e70081ab71d (patch) | |
| tree | 9a6c818be0a99eb80d7ce165cb31b90ecae4eb04 /include/variables.h | |
| parent | 868b3721159ee615a1b774645d610a13b5827e5e (diff) | |
| download | efi-boot-shim-eb4cb6a50981f9ef4698b3847bd32e70081ab71d.tar.gz efi-boot-shim-eb4cb6a50981f9ef4698b3847bd32e70081ab71d.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.h | 2 |
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]); |
