aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-client-export
diff options
context:
space:
mode:
authorLeroux Cifer <leroux@fezrev.com>2012-05-02 21:07:04 -0500
committerLeroux Cifer <leroux@fezrev.com>2012-05-02 21:07:04 -0500
commit82e2336fdd05b7646f83238d627138bcc9c7151c (patch)
tree4a7f5278fbf4f691ec5b047a8580322973a2c6e6 /config/openvpn-client-export
parent5f2c48fd8487d5fd1d8cd6445007900e3d4042df (diff)
downloadpfsense-packages-82e2336fdd05b7646f83238d627138bcc9c7151c.tar.gz
pfsense-packages-82e2336fdd05b7646f83238d627138bcc9c7151c.tar.bz2
pfsense-packages-82e2336fdd05b7646f83238d627138bcc9c7151c.zip
The client export was missing a newline after the ns-cert-type which would thus mess up comp-lzo and such afterwards.
Diffstat (limited to 'config/openvpn-client-export')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index eaa70f82..f023bf21 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -236,7 +236,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke
if (is_array($server_cert) && ($server_cert['crt'])) {
$purpose = cert_get_purpose($server_cert['crt'], true);
if ($purpose['server'] == 'Yes')
- $conf .= "ns-cert-type server";
+ $conf .= "ns-cert-type server{$nl}";
}
}