aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-04-05 19:24:49 +0100
committerGravatar Sadie Powell2025-04-06 00:45:31 +0100
commit28073d2506685a508135a487b41ea3aed63bf522 (patch)
treec2328a7a857a2910ac9849eaa6b0c9b9091711f0 /src/configreader.cpp
parentRewrite every single hash module for the new interface. (diff)
Delete the old hashing interface and modules.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 6769edcf2..fdaf3c74a 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -678,7 +678,17 @@ std::vector<std::string> ServerConfig::GetModules() const
}
// Rewrite the old names of renamed modules.
- if (insp::equalsci(shortname, "sslrehashsignal"))
+ if (insp::equalsci(shortname, "argon2"))
+ modules.push_back("hash_argon2");
+ else if (insp::equalsci(shortname, "bcrypt"))
+ modules.push_back("hash_bcrypt");
+ else if (insp::equalsci(shortname, "password_hash"))
+ modules.push_back("mkpasswd");
+ else if (insp::equalsci(shortname, "sha1"))
+ modules.push_back("hash_sha1");
+ else if (insp::equalsci(shortname, "sha2"))
+ modules.push_back("hash_sha2");
+ else if (insp::equalsci(shortname, "sslrehashsignal"))
modules.push_back("rehashsignal");
else
{