From 9bab54af796e38e9ca7151e1a3de1b4e96550a51 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 17 Jan 2025 23:54:53 +0000 Subject: [PATCH] Qualify a use of auto. --- modules/encryption/enc_sha2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/encryption/enc_sha2.cpp b/modules/encryption/enc_sha2.cpp index 59216baee..11c0e76f6 100644 --- a/modules/encryption/enc_sha2.cpp +++ b/modules/encryption/enc_sha2.cpp @@ -160,7 +160,7 @@ public: if (!is_hmac && hash_method.compare(0, 4, "raw-", 4)) return; // Not a SHA-2 password. - auto provider = GetAlgorithm(hash_method.substr(is_hmac ? 5 : 4)); + auto *provider = GetAlgorithm(hash_method.substr(is_hmac ? 5 : 4)); if (!provider) return; // Not a hash for this module.