From 28073d2506685a508135a487b41ea3aed63bf522 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 5 Apr 2025 19:24:49 +0100 Subject: Delete the old hashing interface and modules. --- src/configreader.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/configreader.cpp') 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 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 { -- cgit v1.3.1-10-gc9f91