]> 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:06:18 +0000 (08:06 +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>
src/openvpn/options.c

index 0eb049d87d110318fe6720d100950c9df4f13ab6..3a2c7a10f8bc5849ce78d41e04aa89aa4524d567 100644 (file)
@@ -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))
     {