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

Message ID 1526345752-21072-5-git-send-email-brett.grandbois@opengear.com
State Accepted
Headers show
Series
  • Signed-Boot OpenSSL support
Related show

Commit Message

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

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