summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2011-06-10 19:01:35 +0000
committerJames Yonan <james@openvpn.net>2011-06-10 19:01:35 +0000
commit759873034018f597e52dfbbfe91ff9d20530ea91 (patch)
tree97803a10aba01358587ffa2b27f112a826277da7 /options.c
parenteab3e22f8261c07d5f906c05fce69917034d9e53 (diff)
downloadopenvpn-759873034018f597e52dfbbfe91ff9d20530ea91.tar.gz
openvpn-759873034018f597e52dfbbfe91ff9d20530ea91.tar.xz
openvpn-759873034018f597e52dfbbfe91ff9d20530ea91.zip
r7316 fixes.
Version 2.1.3x1. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7332 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'options.c')
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.c b/options.c
index bbe9f67..b81863b 100644
--- a/options.c
+++ b/options.c
@@ -5256,6 +5256,7 @@ add_option (struct options *options,
#ifdef ENABLE_CLIENT_CR
else if (streq (p[0], "static-challenge") && p[1] && p[2])
{
+ VERIFY_PERMISSION (OPT_P_GENERAL);
options->sc_info.challenge_text = p[1];
if (atoi(p[2]))
options->sc_info.flags |= SC_ECHO;