diff options
Diffstat (limited to 'openssl-status-html.lsp')
-rw-r--r-- | openssl-status-html.lsp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/openssl-status-html.lsp b/openssl-status-html.lsp index 37d45fc..7ba2b95 100644 --- a/openssl-status-html.lsp +++ b/openssl-status-html.lsp @@ -9,15 +9,20 @@ io.write(html.cfe_unpack(view)) <DL> <? displayitem(view.value.version) ?> <? displayitem(view.value.conffile) ?> +<? displayitem(view.value.environment) ?> <? displayitem(view.value.cacert) ?> <? displayitem(view.value.cakey) ?> </DL> -<? if not view.value.cacert.errtxt and not view.value.cakey.errtxt then ?> +<? if not view.value.version.errtxt and not view.value.conffile.errtxt then + if view.value.environment.errtxt then + if viewlibrary and viewlibrary.dispatch_component and session.permissions.openssl.checkenvironment then + viewlibrary.dispatch_component("checkenvironment") + end + elseif not view.value.cacert.errtxt and not view.value.cakey.errtxt then ?> <H1>CA Certificate contents</H1> <pre><?= view.value.cacertcontents.value ?></pre> -<? elseif not view.value.version.errtxt and not view.value.conffile.errtxt then - if viewlibrary and viewlibrary.dispatch_component then + <? elseif viewlibrary and viewlibrary.dispatch_component then if session.permissions.openssl.putcacert then viewlibrary.dispatch_component("putcacert") end @@ -26,3 +31,4 @@ io.write(html.cfe_unpack(view)) end end end ?> + |