From 82e2336fdd05b7646f83238d627138bcc9c7151c Mon Sep 17 00:00:00 2001 From: Leroux Cifer Date: Wed, 2 May 2012 21:07:04 -0500 Subject: The client export was missing a newline after the ns-cert-type which would thus mess up comp-lzo and such afterwards. --- config/openvpn-client-export/openvpn-client-export.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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}"; } } -- cgit v1.2.3