diff options
author | James Yonan <james@openvpn.net> | 2010-08-29 05:24:15 +0000 |
---|---|---|
committer | James Yonan <james@openvpn.net> | 2010-08-29 05:24:15 +0000 |
commit | 2e8ff6c1bd1eb96a6551304e16af5e01e86b328f (patch) | |
tree | 9d745e5d1dedcc22dea127474f975b1ad2162210 /options.c | |
parent | Attempt to fix issue where domake-win build system was not properly (diff) | |
download | openvpn-2e8ff6c1bd1eb96a6551304e16af5e01e86b328f.tar.xz |
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
Diffstat (limited to '')
-rw-r--r-- | options.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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")) { |