]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Make ENABLE_OCC no longer depend on !ENABLE_SMALL
authorGert Doering <gert@greenie.muc.de>
Sun, 19 Mar 2017 18:41:35 +0000 (19:41 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 20 Mar 2017 19:29:23 +0000 (20:29 +0100)
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 <gert@greenie.muc.de>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
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 <gert@greenie.muc.de>
src/openvpn/syshead.h

index a1b60476b8c62e0abc5a40c556da34e263f610c3..f4458648ed02cc2aa34ba24fdf94d42b8a0db9f7 100644 (file)
@@ -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