aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-client-export/openvpn-client-export.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/openvpn-client-export/openvpn-client-export.inc')
-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";
}