]> git.ipfire.org Git - thirdparty/openvpn.git/commit
auth-token: Fix compiler complaints with --disable-management
authorDavid Sommerseth <davids@openvpn.net>
Fri, 27 Sep 2019 22:45:35 +0000 (00:45 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 1 Oct 2019 11:14:38 +0000 (13:14 +0200)
commitf706d00f7f0cbcf26d2f8e58a684889cf3b9cf7d
treeacce6b500ab16d6e75527d123284af539a54505d
parentc20434a8c718ed577b62d96200a6c30472edadd6
auth-token: Fix compiler complaints with --disable-management

When building with --disable-management, the compiler complains with
implicit declaration of function ‘ssl_clean_auth_token’.  This is due to
the ssl_clean_auth_token() function being declared inside an #ifdef
ENABLE_MANAGEMENT fence where it should not be.

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