From: Gert Doering Date: Sun, 19 Mar 2017 18:41:35 +0000 (+0100) Subject: Make ENABLE_OCC no longer depend on !ENABLE_SMALL X-Git-Tag: v2.4.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=037669f3dd;p=thirdparty%2Fopenvpn.git Make ENABLE_OCC no longer depend on !ENABLE_SMALL 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=b613c96d94bcdcda7abb3 be68ea1c281ce5fbb47 Signed-off-by: Gert Doering Acked-by: Steffan Karger Message-Id: <20170319184135.23548-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14281.html Signed-off-by: Gert Doering (cherry picked from commit 363af65178b8bbb482df958d6570c8763aee5d1d) --- diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index a1b60476b..f4458648e 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