From cbdcd051c63c4ff98dfb4ff45388e722f8d0a2de Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 27 Mar 2026 13:10:26 +0000 Subject: Switch the extensible system to using shared pointers. --- modules/spanningtree/hmac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/spanningtree/hmac.cpp') diff --git a/modules/spanningtree/hmac.cpp b/modules/spanningtree/hmac.cpp index 4a97bddbb..5dc8bd03d 100644 --- a/modules/spanningtree/hmac.cpp +++ b/modules/spanningtree/hmac.cpp @@ -74,7 +74,7 @@ bool TreeSocket::ComparePass(const Link& link, const std::string& theirs) capab->auth_challenge = !capab->ourchallenge.empty() && !capab->theirchallenge.empty(); const auto* sslhook = SSLIOHook::IsSSL(this); - const auto* sslcert = sslhook ? sslhook->GetCertificate() : nullptr; + const auto& sslcert = sslhook ? sslhook->GetCertificate() : nullptr; const auto sslcert_usable = sslcert && sslcert->IsUsable(); const auto fp = sslcert_usable ? sslcert->GetFingerprint() : ""; if (capab->auth_fingerprint) -- cgit v1.3.1-10-gc9f91