summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2011-04-25 06:21:57 +0000
committerDavid Sommerseth <dazo@users.sourceforge.net>2011-04-26 22:29:12 +0200
commite4359af463463097dd80e679836905bcd8ad7a13 (patch)
tree32a9001fa26b343dc7821728ac54d0c99cdb6228 /init.c
parent7966d75a9d41453a56e41eaae7b0fd64f75f7ec3 (diff)
downloadopenvpn-e4359af463463097dd80e679836905bcd8ad7a13.tar.gz
openvpn-e4359af463463097dd80e679836905bcd8ad7a13.tar.xz
openvpn-e4359af463463097dd80e679836905bcd8ad7a13.zip
Fixed compile issues on Windows.
Version 2.1.3w git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7219 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index b1f65a9..e5ca358 100644
--- a/init.c
+++ b/init.c
@@ -2056,6 +2056,7 @@ do_init_crypto_tls (struct context *c, const unsigned int flags)
to.verify_command = options->tls_verify;
to.verify_x509name = options->tls_remote;
to.crl_file = options->crl_file;
+ to.ssl_flags = options->ssl_flags;
to.ns_cert_type = options->ns_cert_type;
memmove (to.remote_cert_ku, options->remote_cert_ku, sizeof (to.remote_cert_ku));
to.remote_cert_eku = options->remote_cert_eku;
@@ -2076,7 +2077,6 @@ do_init_crypto_tls (struct context *c, const unsigned int flags)
to.auth_user_pass_verify_script = options->auth_user_pass_verify_script;
to.auth_user_pass_verify_script_via_file = options->auth_user_pass_verify_script_via_file;
to.tmp_dir = options->tmp_dir;
- to.ssl_flags = options->ssl_flags;
if (options->ccd_exclusive)
to.client_config_dir_exclusive = options->client_config_dir;
#endif