]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Warn that DH config option is only meaningful in a tls-server context
authorGert van Dijk <gert@gertvandijk.net>
Sun, 27 Aug 2017 16:15:15 +0000 (18:15 +0200)
committerDavid Sommerseth <davids@openvpn.net>
Wed, 6 Sep 2017 22:19:53 +0000 (00:19 +0200)
commitb1298bbb2be73e978bb5b555d1bd8722cf9b28b0
treee06479662d55dd404af59185d7b2a42a45d2c946
parent14e4c58b6f903c562475379bb806e26c42d6a52e
Warn that DH config option is only meaningful in a tls-server context

If specified in a tls-client context, don't try to open the file as it's
not used. Worse even, if 'none' was specified to disable explicitly, it
complained that the file 'none' could not be found.

[DS: On-the-fly update - Prefixed the message with 'WARNING: ']

Signed-off-by: Gert van Dijk <gert@gertvandijk.net>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: <20170827161515.2424-1-gert@gertvandijk.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15332.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
(cherry picked from commit 47a0a80b7718fe88451c82bdfe838e5a6e3c4248)
src/openvpn/options.c