Diff

plugins/mod_s2s.lua @ 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
parent 13703:99d2100d2918
child 13804:e128ed4494f3
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";