summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_openvpn_client.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/vpn_openvpn_client.php')
-rw-r--r--usr/local/www/vpn_openvpn_client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_openvpn_client.php b/usr/local/www/vpn_openvpn_client.php
index 3678138..4faf9ce 100644
--- a/usr/local/www/vpn_openvpn_client.php
+++ b/usr/local/www/vpn_openvpn_client.php
@@ -630,7 +630,7 @@ function autotls_change() {
$caname = "";
$inuse = "";
$revoked = "";
- if (in_array($cert['refid'], $config['system']['user'][$userid]['cert']))
+ if (is_user_cert($cert['refid']))
continue;
$ca = lookup_ca($cert['caref']);
if ($ca)
OpenPOWER on IntegriCloud