summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-05-11 16:10:08 -0400
committerjim-p <jimp@pfsense.org>2011-05-11 16:10:49 -0400
commit728003c8934207a87e7c32a0aa2caecccf3ff8c1 (patch)
treeca55a1a50aaea389907ee1cdf3c8fa44f0bc1c0d /etc/inc/openvpn.inc
parent51b9e41d9ec65536b6ee3f572d9896f7145ee724 (diff)
downloadpfsense-728003c8934207a87e7c32a0aa2caecccf3ff8c1.zip
pfsense-728003c8934207a87e7c32a0aa2caecccf3ff8c1.tar.gz
Various CRL fixes, handle empty internal CRLs better.
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r--etc/inc/openvpn.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 4115784..7f82975 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -953,6 +953,7 @@ function openvpn_refresh_crls() {
case 'server_user':
if (!empty($settings['crlref'])) {
$crl = lookup_crl($settings['crlref']);
+ crl_update($crl);
$fpath = $g['varetc_path']."/openvpn/server{$settings['vpnid']}.crl-verify";
file_put_contents($fpath, base64_decode($crl['text']));
@chmod($fpath, 0644);
OpenPOWER on IntegriCloud