]> git.ipfire.org Git - thirdparty/openvpn.git/commit
auth-token: Fix building with --disable-server
authorDavid Sommerseth <davids@openvpn.net>
Fri, 27 Sep 2019 22:45:34 +0000 (00:45 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 1 Oct 2019 11:02:07 +0000 (13:02 +0200)
commitc20434a8c718ed577b62d96200a6c30472edadd6
tree2dc4c09d8bedf9dd37681bbf1a4ecbe3f6fef94f
parentfba0e8b8964d5a1f24182ff4c48b18923b5d7ba8
auth-token: Fix building with --disable-server

The final patches of the auth-token hmac support patches had a typo in
the P2MP_SERVER fencing breaking --disable-server builds.  It used #if
instead of #ifdef.

While at it, also fix another missing P2MP_SERVER fencing causing the
compiler to complain about an unused variable in push.c

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20190927224536.27480-2-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18875.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/push.c
src/openvpn/ssl_common.h