diff options
| author | Peter Jones <pjones@redhat.com> | 2013-10-01 13:55:27 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-10-01 14:03:16 -0400 |
| commit | f330528786fb02f1771c76818ffc8f1793f5d2f7 (patch) | |
| tree | 048d338958abf211b5e4148f77b8630f9cadea4e /lib/security_policy.c | |
| parent | 4537217422a4e1bf145e135d89284cf7887ad826 (diff) | |
| download | efi-boot-shim-f330528786fb02f1771c76818ffc8f1793f5d2f7.tar.gz efi-boot-shim-f330528786fb02f1771c76818ffc8f1793f5d2f7.zip | |
Conditionalize overriding the security policy.
Make OVERRIDE_SECURITY_POLICY a build option.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/security_policy.c')
| -rw-r--r-- | lib/security_policy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/security_policy.c b/lib/security_policy.c index f1b08420..9af3a107 100644 --- a/lib/security_policy.c +++ b/lib/security_policy.c @@ -14,6 +14,7 @@ #include <simple_file.h> #include <errors.h> +#if defined(OVERRIDE_SECURITY_POLICY) #include <security_policy.h> /* @@ -348,3 +349,4 @@ security_protocol_set_hashes(unsigned char *esl, int len) security_policy_esl = esl; security_policy_esl_len = len; } +#endif /* OVERRIDE_SECURITY_POLICY */ |
