1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 20:23:13 +02:00

Add self-tests to the encryption providers.

This commit is contained in:
Sadie Powell
2024-03-10 16:14:22 +00:00
parent 3b85a8071f
commit f919bb0748
5 changed files with 51 additions and 1 deletions
+7
View File
@@ -104,6 +104,13 @@ public:
{
return std::make_unique<Argon2Context>(this->type);
}
Anope::string ToPrintable(const Anope::string &hash) override
{
// We have no way to make this printable without the creating context
// so we always return the printed form.
return hash;
}
};