From a05abef182846dfe06ee91d1c77838aa78b8049c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 26 Oct 2025 14:57:51 +0000 Subject: Deprecate the contents of the SSLClientCert namespace. This is full of footguns and isn't really needed. --- src/modules/m_sslinfo.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index b38931871..4a1f73f74 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -161,7 +161,11 @@ public: if (!luser || nosslext.Get(luser)) return nullptr; - cert = SSLClientCert::GetCertificate(&luser->eh); + auto* ssliohook = SSLIOHook::IsSSL(&luser->eh); + if (!ssliohook) + return nullptr; + + cert = ssliohook->GetCertificate(); if (!cert) return nullptr; -- cgit v1.3.1-10-gc9f91