Skip to contentSkip to conversation

Provide more accurate warning message

Openvpn-devel Davide Brini 2 participants 3 messages May 30, 2013

lore
Share & tools
lore
#0 lore raw

Very simple fix.

---
 src/openvpn/init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/init.c +1 -1
index 2a0ba85..9a9c49a 100644
@@ -2547,7 +2547,7 @@ do_option_warnings (struct context *c)
   else if (script_security >= SSEC_PW_ENV)
     msg (M_WARN, "WARNING: the current --script-security setting may allow passwords to be passed to scripts via environmental variables");
   else
-    msg (M_WARN, "NOTE: " PACKAGE_NAME " 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables");
+    msg (M_WARN, "NOTE: starting with " PACKAGE_NAME " 2.1, '--script-security 2' or higher is required to call user-defined scripts or executables");
 }
 
 static void
Signature · 5 lines
1.7.10.4


-- 
D.
#1 lore raw

Hi,

Quoted 1 line · Davide Brini

+ msg (M_WARN, "NOTE: starting with " PACKAGE_NAME " 2.1, '--script-security 2' or higher is required to call user-defined scripts or executables");

ACK, this text is even clearer than what Arne proposed.

I'll see how I can get this to apply, as the patch itself won't fit on top of the other one changing the same line...

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#2 lore raw
In reply to Davide Brini

Your patch has been applied to the master and release/2.3 branches.

commit 3600996534c30978a7b0e9ddbe5e9743e6423d1a (master) commit 5957218690ceb9d70de63d048f86c241a44e8b48 (release/2.3)

Author: Davide Brini
Date:   Thu May 30 16:20:55 2013 +0200
     Provide more accurate warning message

     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: http://article.gmane.org/gmane.network.openvpn.devel/7628
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering