Do not print Diffy Hellman parameters file to log file
PATCH 1/1 Do not print Diffy Hellman parameters file to log file
Suppress printing the complete Diffy Hellman parameters file to the log file when it has been configured as an inline file.
--- src/openvpn/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/options.c +1 -1
@@ -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 )) {
Signature · 1 line
2.25.1
Hi,
Quoted 4 lines · Richard Bonhomme
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 <[email protected]...>
This is indeed something that I forgot to change when implementing 19fab1f6cf71715f84d09d6a8b49698b0ae42cd1
Like all other params that have an xx_inline bool companion, also dh_file should be printed using the SHOW_STR_INLINE() macro.
Thanks for noticing and fixing this!
Signature · 1 line
Antonio Quartulli
Your patch has been applied to the master and release/2.5 branch.
I've corrected the spelling of "Diffy" to "Diffie", according to
https://en.wikipedia.org/wiki/Diffie-Hellman_key_exchange
I have not tested this further than "it compiles".
commit 4170da0778b926cea748c319163fdcfc7c6bc445 (master) commit c8a72bbfbf16fa87c18c2e92c467587833b611e9 (release/2.5)
Author: Richard Bonhomme Date: Wed Mar 17 22:34:48 2021 +0000
Do not print Diffy Hellman parameters file to log file
Signed-off-by: Richard Bonhomme <[email protected]...>
Acked-by: Antonio Quartulli <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg21688.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
How embarrassing ..
Quoted 27 lines · Gert Doering
Your patch has been applied to the master and release/2.5 branch.
I've corrected the spelling of "Diffy" to "Diffie", according to
https://en.wikipedia.org/wiki/Diffie-Hellman_key_exchange
I have not tested this further than "it compiles".
commit
4170da0778b926cea748c319163fdcfc7c6bc445(master) commitc8a72bbfbf16fa87c18c2e92c467587833b611e9(release/2.5)Author: Richard Bonhomme Date: Wed Mar 17 22:34:48 2021 +0000Do not print Diffy Hellman parameters file to log file Signed-off-by: Richard Bonhomme <[email protected]...> Acked-by: Antonio Quartulli <[email protected]...> Message-Id: <[email protected]...> URL: https://www.mail-archive.com/[email protected]/msg21688.html Signed-off-by: Gert Doering <[email protected]...>--
kind regards,Gert Doering