aboutsummaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-07-22 22:33:16 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-07-22 22:33:16 +0200
commit0b026a985d6232d459ed4e2b6642853c959667da (patch)
treea43bbe677b158de41f32bb240358ec4c1d2f34b2 /init.c
parentMerge branch 'bugfix2.1' into beta2.2 (diff)
parentFixed static defined length check to use sizeof() (diff)
downloadopenvpn-0b026a985d6232d459ed4e2b6642853c959667da.tar.xz
Merge branch 'feat_misc' into beta2.2
Conflicts: Makefile.am - Copyright update - Added configure.h to CLEANFILES options.c - Copyright update - More verbose information about enabled features Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'init.c')
-rw-r--r--init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.c b/init.c
index 2049daf..5f64c05 100644
--- a/init.c
+++ b/init.c
@@ -1191,7 +1191,7 @@ do_route (const struct options *options,
struct argv argv = argv_new ();
setenv_str (es, "script_type", "route-up");
argv_printf (&argv, "%sc", options->route_script);
- openvpn_execve_check (&argv, es, S_SCRIPT, "Route script failed");
+ openvpn_run_script (&argv, es, 0, "--route-up");
argv_reset (&argv);
}
@@ -2024,6 +2024,7 @@ do_init_crypto_tls (struct context *c, const unsigned int flags)
#endif
to.verify_command = options->tls_verify;
+ to.verify_export_cert = options->tls_export_cert;
to.verify_x509name = options->tls_remote;
to.crl_file = options->crl_file;
to.ns_cert_type = options->ns_cert_type;