diff options
author | jim-p <jimp@pfsense.org> | 2015-12-07 08:53:17 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-12-07 10:18:33 -0500 |
commit | de1a3167620d083353e5a1d9a6e2021775d627ef (patch) | |
tree | 4263450e1fd804e97d8dfaea5a0fd71a500f1c0f /src/etc/inc/openvpn.inc | |
parent | f0d69d9ea43f1525975258d3ef54f5fa85964259 (diff) | |
download | pfsense-de1a3167620d083353e5a1d9a6e2021775d627ef.zip pfsense-de1a3167620d083353e5a1d9a6e2021775d627ef.tar.gz |
whitespace/style fixups
Diffstat (limited to 'src/etc/inc/openvpn.inc')
-rw-r--r-- | src/etc/inc/openvpn.inc | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/etc/inc/openvpn.inc b/src/etc/inc/openvpn.inc index d69bfbf..15133d4 100644 --- a/src/etc/inc/openvpn.inc +++ b/src/etc/inc/openvpn.inc @@ -207,17 +207,21 @@ function openvpn_build_cert_list($include_none = false) { $revoked = ""; $ca = lookup_ca($cert['caref']); - if ($ca) + if ($ca) { $caname = " (CA: {$ca['descr']})"; + } - if ($pconfig['certref'] == $cert['refid']) + if ($pconfig['certref'] == $cert['refid']) { $selected = "selected"; + } - if (cert_in_use($cert['refid'])) + if (cert_in_use($cert['refid'])) { $inuse = " *In Use"; + } - if (is_cert_revoked($cert)) - $revoked = " *Revoked"; + if (is_cert_revoked($cert)) { + $revoked = " *Revoked"; + } $list[$cert['refid']] = $cert['descr'] . $caname . $inuse . $revoked; } |