diff options
Diffstat (limited to 'lib/security/gpg.c')
-rw-r--r-- | lib/security/gpg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/security/gpg.c b/lib/security/gpg.c index 761d6ce..aae85aa 100644 --- a/lib/security/gpg.c +++ b/lib/security/gpg.c @@ -354,8 +354,10 @@ int lockdown_status() { /* assume most restrictive lockdown type */ int ret = PB_LOCKDOWN_SIGN; +#if !defined(HARD_LOCKDOWN) if (access(LOCKDOWN_FILE, F_OK) == -1) return PB_LOCKDOWN_NONE; +#endif /* determine lockdown type */ FILE *authorized_signatures_handle = NULL; |