Diff

plugins/mod_admin_shell.lua @ 13079:e7a5e5a0dc02

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Wed, 19 Apr 2023 11:42:36 +0200
parent 13072:7fcf41b541e0
parent 13077:de42a93a7c8d
child 13089:41598b7ec543
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua	Wed Apr 19 11:14:11 2023 +0200
+++ b/plugins/mod_admin_shell.lua	Wed Apr 19 11:42:36 2023 +0200
@@ -903,7 +903,7 @@
 		width = math.max(#"Expired", #"Self-signed", #"Untrusted", #"Mismatched", #"Unknown");
 		mapper = function(cert_status, session)
 			if cert_status then return capitalize(cert_status); end
-			if session.cert_chain_status == "Invalid" then
+			if session.cert_chain_status == "invalid" then
 				local cert_errors = set.new(session.cert_chain_errors[1]);
 				if cert_errors:contains("certificate has expired") then
 					return "Expired";