commit
60f5889ae formally deprecated use of configs without either
"tls-client" or "tls-server" - but got the booleans wrong.
Fix.
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <
20210417100544.5497-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22139.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
msg(M_USAGE, "specify only one of --tls-server, --tls-client, or --secret");
}
- if (!options->tls_server || !options->tls_client)
+ if (!options->tls_server && !options->tls_client)
{
msg(M_INFO, "DEPRECATION: No tls-client or tls-server option in "
"configuration detected. OpenVPN 2.7 will remove the "