From bb2fe4cfb3fc050e4ef0dbb6af0c53a4f75200c9 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 1 Oct 2013 14:03:16 -0400 Subject: Conditionalize overriding the security policy. Make OVERRIDE_SECURITY_POLICY a build option. Signed-off-by: Peter Jones --- lib/security_policy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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 #include +#if defined(OVERRIDE_SECURITY_POLICY) #include /* @@ -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 */ -- cgit v1.2.3