]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Do not print Diffie Hellman parameters file to log file
authorRichard Bonhomme <tincanteksup@gmail.com>
Wed, 17 Mar 2021 22:34:48 +0000 (22:34 +0000)
committerGert Doering <gert@greenie.muc.de>
Thu, 18 Mar 2021 07:08:09 +0000 (08:08 +0100)
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 <tincanteksup@gmail.com>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
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 <gert@greenie.muc.de>
(cherry picked from commit 4170da0778b926cea748c319163fdcfc7c6bc445)

src/openvpn/options.c

index 0d99e99cf246e7a56418d864360a32d5fdf060c9..23f7b3d76a55231062fe717a39606188a696c14e 100644 (file)
@@ -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))
     {