From d40f2b204b78ace5c2c9c3007887571ca5a2ec11 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 8 Nov 2005 12:50:11 +0000 Subject: Added ENABLE_INLINE_FILES feature. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@784 e7ae566f-a301-0410-adde-c780ea21d3b5 --- init.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'init.c') diff --git a/init.c b/init.c index ac40dc5..4e3b6e7 100644 --- a/init.c +++ b/init.c @@ -1365,6 +1365,14 @@ do_init_crypto_tls_c1 (struct context *c) &c->c1.ks.tls_auth_key, options->tls_auth_file, options->key_direction); + +#if ENABLE_INLINE_FILES + if (options->priv_key_file_inline) + { + string_clear (c->options.priv_key_file_inline); + c->options.priv_key_file_inline = NULL; + } +#endif } else { -- cgit v1.2.3