diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-10-03 03:52:09 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-10-03 03:52:09 +0000 |
commit | 13418f948cc7adcda91d6b728f55a70c74cd611d (patch) | |
tree | 94809c4cef5a2e9e0370aee2b200469a3c52b3db | |
parent | 164553152641fea88b78ee0865070be2542800c0 (diff) | |
download | pfsense-packages-13418f948cc7adcda91d6b728f55a70c74cd611d.tar.gz pfsense-packages-13418f948cc7adcda91d6b728f55a70c74cd611d.tar.bz2 pfsense-packages-13418f948cc7adcda91d6b728f55a70c74cd611d.zip |
Correct a typo that prevented the OpenVPN Client Export tool from working
when a TLS file was in use. Reported by Chris Buechler.
-rwxr-xr-x | packages/openvpn-client-export/openvpn-client-export.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/openvpn-client-export/openvpn-client-export.inc b/packages/openvpn-client-export/openvpn-client-export.inc index b2286ef2..124d775a 100755 --- a/packages/openvpn-client-export/openvpn-client-export.inc +++ b/packages/openvpn-client-export/openvpn-client-export.inc @@ -216,7 +216,7 @@ function openvpn_client_export_installer($srvid, $usrid, $crtid, $useaddr, $uset $keyfile = "{$tempdir}/config/{$prefix}-{$user['name']}.key"; file_put_contents($keyfile, base64_decode($cert['prv'])); if ($settings['tls']) { - $tlsfile = "{$tempdir}/config/{$prefix}-tls.key\n"; + $tlsfile = "{$tempdir}/config/{$prefix}-tls.key"; file_put_contents($tlsfile, base64_decode($settings['tls'])); } |