diff options
Diffstat (limited to 'modules/encryption/enc_bcrypt.cpp')
-rw-r--r-- | modules/encryption/enc_bcrypt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/encryption/enc_bcrypt.cpp b/modules/encryption/enc_bcrypt.cpp index e7c19a2ae..3dea3f2c6 100644 --- a/modules/encryption/enc_bcrypt.cpp +++ b/modules/encryption/enc_bcrypt.cpp @@ -30,14 +30,14 @@ class EBCRYPT final return salt; } - Anope::string Generate(const Anope::string& data, const Anope::string& salt) + Anope::string Generate(const Anope::string &data, const Anope::string &salt) { char hash[64]; _crypt_blowfish_rn(data.c_str(), salt.c_str(), hash, sizeof(hash)); return hash; } - bool Compare(const Anope::string& string, const Anope::string& hash) + bool Compare(const Anope::string &string, const Anope::string &hash) { Anope::string ret = Generate(string, hash); if (ret.empty()) |