summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-02-29 22:11:40 +0200
committerDavid Sommerseth <davids@redhat.com>2012-03-22 22:06:52 +0100
commit16d909e2c88f49231475c4163541394e16969d45 (patch)
treeacbc9088d5d6f9720c26569aee2a4abc6b0ee545 /init.c
parent553d95da5a5663e371c0cf35356a8fdfdc22975b (diff)
downloadopenvpn-16d909e2c88f49231475c4163541394e16969d45.tar.gz
openvpn-16d909e2c88f49231475c4163541394e16969d45.tar.xz
openvpn-16d909e2c88f49231475c4163541394e16969d45.zip
fixup: init.c: add missing conditional for ENABLE_CLIENT_CR
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Acked-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
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 d2ad318..b8f57b2 100644
--- a/init.c
+++ b/init.c
@@ -2282,9 +2282,11 @@ do_init_crypto_tls (struct context *c, const unsigned int flags)
to.x509_track = options->x509_track;
#endif
+#if P2MP
#ifdef ENABLE_CLIENT_CR
to.sci = &options->sc_info;
#endif
+#endif
/* TLS handshake authentication (--tls-auth) */
if (options->tls_auth_file)