summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-12 08:26:57 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-12 08:26:57 +0000
commit411e89ae6fa195885dc13c594235893c22cb33d8 (patch)
tree27126306bc8185ef538127bc5f03052be898814d /init.c
parent9423103dab10cd5b933e4f6e574f37e33457ca96 (diff)
downloadopenvpn-411e89ae6fa195885dc13c594235893c22cb33d8.tar.gz
openvpn-411e89ae6fa195885dc13c594235893c22cb33d8.tar.xz
openvpn-411e89ae6fa195885dc13c594235893c22cb33d8.zip
Merged --remote-cert-ku, --remote-cert-eku, and
--remote-cert-tls from Alon's branch: svn merge -r 793:796 $SO/contrib/alon/BETA21/openvpn . git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@797 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.c b/init.c
index bd90b80..0c9a509 100644
--- a/init.c
+++ b/init.c
@@ -1445,6 +1445,8 @@ do_init_crypto_tls (struct context *c, const unsigned int flags)
to.verify_x509name = options->tls_remote;
to.crl_file = options->crl_file;
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;
to.es = c->c2.es;
#ifdef ENABLE_DEBUG