From: Richard Bonhomme Date: Wed, 17 Mar 2021 22:34:48 +0000 Message-Id: <20210317223448.1278818-1-tincanteksup@...277...> MIME-Version: 1.0 Subject: [Openvpn-devel] [PATCH] Do not print Diffy Hellman parameters file to log file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net Suppress printing the complete Diffy Hellman parameters file to the log file when it has been configured as an inline file. Signed-off-by: Richard Bonhomme --- src/openvpn/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 0eb049d8..3a2c7a10 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)) { -- 2.25.1