From c8a72bbfbf16fa87c18c2e92c467587833b611e9 Mon Sep 17 00:00:00 2001 From: Richard Bonhomme Date: Wed, 17 Mar 2021 22:34:48 +0000 Subject: [PATCH] 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) --- 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 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)) { -- 2.47.2