summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--options.c1
-rw-r--r--options.h6
-rw-r--r--version.m42
3 files changed, 5 insertions, 4 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;
diff --git a/options.h b/options.h
index f74c9b3..34bacec 100644
--- a/options.h
+++ b/options.h
@@ -426,9 +426,6 @@ struct options
const char *auth_user_pass_verify_script;
bool auth_user_pass_verify_script_via_file;
-#ifdef ENABLE_CLIENT_CR
- struct static_challenge_info sc_info;
-#endif
#if PORT_SHARE
char *port_share_host;
int port_share_port;
@@ -446,6 +443,9 @@ struct options
int scheduled_exit_interval;
+#ifdef ENABLE_CLIENT_CR
+ struct static_challenge_info sc_info;
+#endif
#endif
#ifdef USE_CRYPTO
diff --git a/version.m4 b/version.m4
index f7d5007..c9c81bf 100644
--- a/version.m4
+++ b/version.m4
@@ -1,5 +1,5 @@
dnl define the OpenVPN version
-define(PRODUCT_VERSION,[2.1.3x])
+define(PRODUCT_VERSION,[2.1.3x1])
dnl define the TAP version
define(PRODUCT_TAP_ID,[tap0901])
define(PRODUCT_TAP_WIN32_MIN_MAJOR,[9])