diff options
| author | 2025-10-26 14:57:51 +0000 | |
|---|---|---|
| committer | 2025-10-26 15:04:22 +0000 | |
| commit | a05abef182846dfe06ee91d1c77838aa78b8049c (patch) | |
| tree | 705bfc36d240228980027d2d8b1ba32891a3872b /src | |
| parent | Check all fingerprints for server links not just the primary one. (diff) | |
Deprecate the contents of the SSLClientCert namespace.
This is full of footguns and isn't really needed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/m_sslinfo.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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; |
