aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-01 01:45:12 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-01 01:45:12 -0400
commit0033e921a3ba48df680e38bff0ee23032ae8127f (patch)
tree83a41c5fe1f28f5ca2c95f55ace343d0298ab604 /config
parent2a1ad3e188a7d0f31d41e7f5e2953566196fdcd1 (diff)
downloadpfsense-packages-0033e921a3ba48df680e38bff0ee23032ae8127f.tar.gz
pfsense-packages-0033e921a3ba48df680e38bff0ee23032ae8127f.tar.bz2
pfsense-packages-0033e921a3ba48df680e38bff0ee23032ae8127f.zip
Unbreak Viscosity
Diffstat (limited to 'config')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc4
1 files 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";
}