From: Richard Bonhomme Date: Wed, 17 Mar 2021 22:34:48 +0000 (+0000) Subject: Do not print Diffie Hellman parameters file to log file X-Git-Tag: v2.6_beta1~613 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4170da0778b926cea748c319163fdcfc7c6bc445;p=thirdparty%2Fopenvpn.git Do not print Diffie Hellman parameters file to log file Suppress printing the complete Diffie Hellman parameters file to the log file when it has been configured as an inline file. Signed-off-by: Richard Bonhomme Acked-by: Antonio Quartulli Message-Id: <20210317223448.1278818-1-tincanteksup@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21688.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 0eb049d87..3a2c7a10f 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -1695,7 +1695,7 @@ show_settings(const struct options *o) SHOW_BOOL(tls_client); SHOW_STR_INLINE(ca_file); SHOW_STR(ca_path); - SHOW_STR(dh_file); + SHOW_STR_INLINE(dh_file); #ifdef ENABLE_MANAGEMENT if ((o->management_flags & MF_EXTERNAL_CERT)) {