Merge 0.12->trunk

This commit is contained in:
Kim Alvefur 2023-04-19 11:42:36 +02:00
commit 6114ccee11
2 changed files with 2 additions and 2 deletions

View file

@ -903,7 +903,7 @@ available_columns = {
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";