aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-15 08:20:21 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-15 08:20:21 +0000
commit51f7b8487b67dd5fbca3794b76919df878c03fb6 (patch)
tree9ec24dddc2711bd69e1c2cc5dd2fda2ae5f02055 /misc.c
parentAdded AC_GNU_SOURCE to configure.ac to enable struct ucred, (diff)
downloadopenvpn-51f7b8487b67dd5fbca3794b76919df878c03fb6.tar.xz
Added additional warning messages about --script-security 2
or higher being required to execute user-defined scripts or executables. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3436 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index d6a57c1..911e911 100644
--- a/misc.c
+++ b/misc.c
@@ -528,7 +528,7 @@ openvpn_execve (const struct argv *a, const struct env_set *es, const unsigned i
}
else
{
- msg (M_WARN, "openvpn_execve: external program may not be called due to setting of --script-security level");
+ msg (M_WARN, SCRIPT_SECURITY_WARNING);
}
#else
msg (M_WARN, "openvpn_execve: execve function not available");