summaryrefslogtreecommitdiff
path: root/lib/security_policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/security_policy.c')
-rw-r--r--lib/security_policy.c2
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 */