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.5.2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8a72bbfbf16fa87c18c2e92c467587833b611e9;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 (cherry picked from commit 4170da0778b926cea748c319163fdcfc7c6bc445) --- diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 0d99e99cf..23f7b3d76 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -1700,7 +1700,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)) {