]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix tls-auth mismatch OCC message when tls-cryptv2 is used.
authorArne Schwabe <arne@rfc2549.org>
Fri, 11 Dec 2020 12:59:57 +0000 (13:59 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 20 Jan 2021 18:45:22 +0000 (19:45 +0100)
commite1bcf8a4bf3986a25f3906abe213fc9cd171ea04
tree0a3cebcc5497cd5d393083e70fb30acff515a754
parent9e2f1bf73aaf48a3a7baf0cda11ef1caf3c69baf
Fix tls-auth mismatch OCC message when tls-cryptv2 is used.

A server with tls-cryptv2 and tls-auth produces the warning:

  WARNING: 'tls-auth' is present in local config but missing in remote
config, local='tls-auth'"

The tls-auth option has no argument so the strpefix with the space
included does not match it.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <20201211125957.7764-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21358.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 15daa9886b64a8378a6c5d68f79076dc44095696)
src/openvpn/options.c