Browse code

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 <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>

Gert Doering authored on 2017/03/20 03:41:35
Showing 1 changed files
... ...
@@ -589,9 +589,7 @@ socket_defined(const socket_descriptor_t sd)
589 589
 /*
590 590
  * Should we include OCC (options consistency check) code?
591 591
  */
592
-#ifndef ENABLE_SMALL
593 592
 #define ENABLE_OCC
594
-#endif
595 593
 
596 594
 /*
597 595
  * Should we include NTLM proxy functionality