diff options
| author | 2026-04-04 01:06:11 +0100 | |
|---|---|---|
| committer | 2026-04-04 01:06:28 +0100 | |
| commit | 6eaed8f4976e10265db9a07ed7076372ebe790a2 (patch) | |
| tree | 9c977b8a81be0205ceea1c19057aab2084d4dbff /include/modules | |
| parent | Fix showing the activation and expiration times in SSLINFO. (diff) | |
Fix determining if a TLS certificate is usable.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/tls.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } }; |
