From de1a3167620d083353e5a1d9a6e2021775d627ef Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 7 Dec 2015 08:53:17 -0500 Subject: whitespace/style fixups --- src/etc/inc/openvpn.inc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src') 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; } -- cgit v1.1