From 2e8ff6c1bd1eb96a6551304e16af5e01e86b328f Mon Sep 17 00:00:00 2001 From: James Yonan Date: Sun, 29 Aug 2010 05:24:15 +0000 Subject: Allow PKCS12 file content to be included inline in configuration file, rendered as base64. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6412 e7ae566f-a301-0410-adde-c780ea21d3b5 --- options.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'options.c') diff --git a/options.c b/options.c index e1de0d9..b1ac26c 100644 --- a/options.c +++ b/options.c @@ -5680,6 +5680,12 @@ add_option (struct options *options, { VERIFY_PERMISSION (OPT_P_GENERAL); options->pkcs12_file = p[1]; +#if ENABLE_INLINE_FILES + if (streq (p[1], INLINE_FILE_TAG) && p[2]) + { + options->pkcs12_file_inline = p[2]; + } +#endif } else if (streq (p[0], "askpass")) { -- cgit v1.2.3