diff options
author | David Sommerseth | 2020-02-27 21:54:43 +0100 |
---|---|---|
committer | Gert Doering | 2020-05-07 21:53:22 +0200 |
commit | 042429d3454ca57564e932a727a27c7d6bfeb2d6 (patch) | |
tree | a230f14a76ddf4b2b387c56fde82dddfbad78386 /src/openvpn/list.c | |
parent | cb2e9218f2bc73fa22da1f6e850e5fe97f689730 (diff) | |
download | openvpn-042429d3454ca57564e932a727a27c7d6bfeb2d6.zip openvpn-042429d3454ca57564e932a727a27c7d6bfeb2d6.tar.gz |
build: Remove --disable-server from ./configure
After some discussion among the core community developers [1,2], it was
decided to remove the possibility to build openvpn as a pure client.
This was alterted on the mailing list [3] that it was scheduled for
removal unless anyone had strong arguments why it was needed.
The general consensus was that we had not received any strong arguments
to keep this possibility after approximately 5 months, so it was fine to
remove this ./configure option.
By removing this, we remove quite some entangled sections of #ifdef
scattered all over the code base, making it more readable.
One note:
Inside the options_postprocess_mutate_invariant() function,
the #ifdef P2MP_SERVER and #ifdef _WIN32 blocks where slightly
reworked to make the _WIN32 block more continous and avoiding having an
empty if(options->mode == MODE_SERVER) block.
Signed-off-by: David Sommerseth <davids@openvpn.net>
[1]
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18830.h
tml
[2]
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19505.h
tml
[3]
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18829.h
tml
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20200227205443.27562-1-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19506.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/list.c')
-rw-r--r-- | src/openvpn/list.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/openvpn/list.c b/src/openvpn/list.c index 6023ea6..549ebdf 100644 --- a/src/openvpn/list.c +++ b/src/openvpn/list.c @@ -29,7 +29,6 @@ #include "syshead.h" -#if P2MP_SERVER #include "integer.h" #include "list.h" @@ -656,10 +655,3 @@ hash_func(const uint8_t *k, uint32_t length, uint32_t initval) /*-------------------------------------- report the result */ return c; } - -#else /* if P2MP_SERVER */ -static void -dummy(void) -{ -} -#endif /* P2MP_SERVER */ |