diff mbox series

[4/5] ui/ncurses: Update LOCKDOWN_FILE check to reflect generic SIGNED_BOOT

Message ID 1525398060-1517-5-git-send-email-brett.grandbois@opengear.com
State Changes Requested
Headers show
Series Signed-Boot OpenSSL support | expand

Commit Message

Grandbois, Brett May 4, 2018, 1:40 a.m. UTC
Signed-off-by: Brett Grandbois <brett.grandbois@opengear.com>
---
 ui/ncurses/nc-boot-editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c
index f302c52..2e5749b 100644
--- a/ui/ncurses/nc-boot-editor.c
+++ b/ui/ncurses/nc-boot-editor.c
@@ -636,7 +636,7 @@  struct boot_editor *boot_editor_init(struct cui *cui,
 	if (!boot_editor)
 		return NULL;
 
-#if defined(HAVE_LIBGPGME)
+#if defined(SIGNED_BOOT)
 	if (access(LOCKDOWN_FILE, F_OK) == -1)
 		boot_editor->use_signature_files = false;
 	else