Software /
code /
prosody
Changeset
13802:7c76ca78ceef 13.0
mod_s2s: Deal with OpenSSL changing spelling in strings
https://github.com/openssl/openssl/commit/ade08735f9d0ac85d611c5abee8a1df651bbca13
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 01 Apr 2025 18:15:34 +0200 |
parents | 13801:a5d5fefb8b68 |
children | 13803:3627980e7df6 13804:e128ed4494f3 |
files | plugins/mod_s2s.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_s2s.lua Tue Apr 01 17:26:56 2025 +0100 +++ b/plugins/mod_s2s.lua Tue Apr 01 18:15:34 2025 +0200 @@ -999,7 +999,7 @@ local cert_errors = set.new(session.cert_chain_errors[1]); if cert_errors:contains("certificate has expired") then return "has expired"; - elseif cert_errors:contains("self signed certificate") then + elseif cert_errors:contains("self signed certificate") or cert_errors:contains("self-signed certificate") then return "is self-signed"; elseif cert_errors:contains("no matching DANE TLSA records") then return "does not match any DANE TLSA records";