]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Don't print OCC warnings about 'key-method', 'keydir' and 'tls-auth'
authorSteffan Karger <steffan.karger@fox-it.com>
Sun, 7 Oct 2018 17:52:15 +0000 (19:52 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 7 Oct 2018 20:08:52 +0000 (22:08 +0200)
commit3baae9ba52187166b7d0b05901732666477a2acb
tree40e6ae0995600911247936ba5d671d8ffb5672dd
parentd818bfedfc7a433a3a5dbd6ce8e9b957802a21b2
Don't print OCC warnings about 'key-method', 'keydir' and 'tls-auth'

Like 'proto', a mismatch in key-method, keydir or tls-auth would fail
before we ever get to the point where we can print this warning.

This prepares for removing these from the occ string later on, but also
prepares for tls-crypt-v2, which allows a server to support tls-auth and
tls-crypt-v2 connections in parallel. Such a server will send 'keydir'
and 'tls-auth' in the occ string. This change removes the spurious
warnings about that in the client log.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20181007175215.25009-1-steffan@karger.me>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17618.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c