From: Gert Doering Date: Sun, 19 Mar 2017 19:41:35 +0100 Message-Id: <20170319184135.23548-1-gert@...1296...> In-Reply-To: References: Subject: [Openvpn-devel] [PATCH] Make ENABLE_OCC no longer depend on !ENABLE_SMALL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net Cc: openvpn-users@lists.sourceforge.net OCC is useful functionality which (according to LEDE devs) adds only about 3k to the binary size - and if the embedded router folks can afford this trade-off, everyone else can :-) Inspired by https://git.lede-project.org/?p=source.git;a=commit;h=b613c96d94bcdcda7abb3be68ea1c281ce5fbb47 Signed-off-by: Gert Doering --- src/openvpn/syshead.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index a1b6047..f445864 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -589,9 +589,7 @@ socket_defined(const socket_descriptor_t sd) /* * Should we include OCC (options consistency check) code? */ -#ifndef ENABLE_SMALL #define ENABLE_OCC -#endif /* * Should we include NTLM proxy functionality -- 2.10.2