summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-06-30 09:33:41 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-21 10:53:31 +0200
commit67d8a0d4e9bcca4299158c80f184c7dea57a9eab (patch)
tree3bc4ce8d9c75c0145b9faef339fc83859a31e456 /init.c
parent2e74a9d02da9ac071438e24de8561ccf9192e94a (diff)
downloadopenvpn-67d8a0d4e9bcca4299158c80f184c7dea57a9eab.tar.gz
openvpn-67d8a0d4e9bcca4299158c80f184c7dea57a9eab.tar.xz
openvpn-67d8a0d4e9bcca4299158c80f184c7dea57a9eab.zip
Refactored tls_options, key_state, and key_source data structures
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
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 eb17b01..54bb2d1 100644
--- a/init.c
+++ b/init.c
@@ -2174,7 +2174,7 @@ do_init_crypto_tls (struct context *c, const unsigned int flags)
if (packet_id_long_form)
to.crypto_flags_or = CO_PACKET_ID_LONG_FORM;
- to.ssl_ctx = c->c1.ks.ssl_ctx.ctx;
+ to.ssl_ctx = c->c1.ks.ssl_ctx;
to.key_type = c->c1.ks.key_type;
to.server = options->tls_server;
to.key_method = options->key_method;