From 6eaed8f4976e10265db9a07ed7076372ebe790a2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 4 Apr 2026 01:06:11 +0100 Subject: Fix determining if a TLS certificate is usable. --- include/modules/tls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modules') diff --git a/include/modules/tls.h b/include/modules/tls.h index 279046ce5..be95ba53a 100644 --- a/include/modules/tls.h +++ b/include/modules/tls.h @@ -124,7 +124,7 @@ public: if (strict && (!IsTrusted() || !IsKnownSigner())) return false; - return !HasError() && IsRevoked() && IsKnownSigner(); + return !HasError() && !IsRevoked() && IsValid(); } }; -- cgit v1.3.1-10-gc9f91