# HG changeset patch # User Kim Alvefur # Date 1743524134 -7200 # Node ID 7c76ca78ceef5336170ad4a9b4f070e1f111d239 # Parent a5d5fefb8b68b55f8a64091516270ddbca38e896 mod_s2s: Deal with OpenSSL changing spelling in strings https://github.com/openssl/openssl/commit/ade08735f9d0ac85d611c5abee8a1df651bbca13 diff -r a5d5fefb8b68 -r 7c76ca78ceef plugins/mod_s2s.lua --- 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";