diff options
-rw-r--r-- | options.c | 1 | ||||
-rw-r--r-- | options.h | 6 | ||||
-rw-r--r-- | version.m4 | 2 |
3 files changed, 5 insertions, 4 deletions
@@ -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; @@ -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 @@ -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]) |