summaryrefslogtreecommitdiff
path: root/src/modules/m_bcrypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_bcrypt.cpp')
-rw-r--r--src/modules/m_bcrypt.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/m_bcrypt.cpp b/src/modules/m_bcrypt.cpp
index 04cb06b08..a8de729d2 100644
--- a/src/modules/m_bcrypt.cpp
+++ b/src/modules/m_bcrypt.cpp
@@ -56,17 +56,6 @@ class BCryptProvider : public HashProvider
return Generate(data, Salt());
}
- bool Compare(const std::string& input, const std::string& hash) CXX11_OVERRIDE
- {
- std::string ret = Generate(input, hash);
- if (ret.empty())
- return false;
-
- if (ret == hash)
- return true;
- return false;
- }
-
std::string ToPrintable(const std::string& raw) CXX11_OVERRIDE
{
return raw;