summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-09-21 16:08:36 -0400
committerjim-p <jimp@pfsense.org>2010-09-21 16:08:36 -0400
commitcd9f13e02d6fc4b5102deb94adbd9148ea5ce286 (patch)
tree0e0818bac7d08fdf9ac3503b164784ddf9d8fe86 /etc
parent57d1853efded20362926e83063c43e3ce12ea890 (diff)
downloadpfsense-cd9f13e02d6fc4b5102deb94adbd9148ea5ce286.zip
pfsense-cd9f13e02d6fc4b5102deb94adbd9148ea5ce286.tar.gz
Properly check if this is in use.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/certs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/certs.inc b/etc/inc/certs.inc
index 2825fe3..15a21b8 100644
--- a/etc/inc/certs.inc
+++ b/etc/inc/certs.inc
@@ -542,7 +542,7 @@ function is_openvpn_server_crl($crlref) {
if (!is_array($config['openvpn']['openvpn-server']))
return;
foreach ($config['openvpn']['openvpn-server'] as $ovpns) {
- if ($ovpns['crlref'] == $crlref)
+ if (!empty($ovpns['crlref']) && ($ovpns['crlref'] == $crlref))
return true;
}
return false;
OpenPOWER on IntegriCloud