summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-01-17 23:54:53 +0000
committerSadie Powell <sadie@witchery.services>2025-01-17 23:54:53 +0000
commit9bab54af796e38e9ca7151e1a3de1b4e96550a51 (patch)
treec16320c9f08916c3554a3bd4fc6d1563f37e3db6
parent0a82366a6b74c959fb1e177cfed000b559f6d009 (diff)
Qualify a use of auto.
-rw-r--r--modules/encryption/enc_sha2.cpp2
1 files changed, 1 insertions, 1 deletions
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.