From: Brett Grandbois Date: Tue, 15 May 2018 00:55:51 +0000 (+1000) Subject: ui/ncurses: Update LOCKDOWN_FILE check to reflect generic SIGNED_BOOT X-Git-Tag: v1.9.0~79 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=e370583366d72e55551f20e3f9b0457e787309bf ui/ncurses: Update LOCKDOWN_FILE check to reflect generic SIGNED_BOOT Signed-off-by: Brett Grandbois Signed-off-by: Samuel Mendoza-Jonas --- 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