From 0033e921a3ba48df680e38bff0ee23032ae8127f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 1 Jul 2009 01:45:12 -0400 Subject: Unbreak Viscosity --- config/openvpn-client-export/openvpn-client-export.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc index 85122988..0e7611c6 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -140,7 +140,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke // add key settings $prefix = openvpn_client_export_prefix($srvid); - if(!$nokeys) { + if($nokeys == false) { if ($usetoken) { $conf .= "ca {$prefix}-ca.crt\n"; $conf .= "cryptoapicert \"SUBJ:{$user['name']}\"\n"; @@ -149,7 +149,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke } } - if(!$nokeys) { + if($nokeys == false) { if ($settings['tls']) $conf .= "tls-auth {$prefix}-tls.key\n"; } -- cgit v1.2.3