diff options
| author | 2014-04-08 16:41:09 +0200 | |
|---|---|---|
| committer | 2014-04-08 16:41:09 +0200 | |
| commit | f7eabed15819e7a3316b0ab2dc8a28f59f25ce2c (patch) | |
| tree | 10605e223f216746f6e48bff95441d78ace23559 /src/modules/m_spanningtree/hmac.cpp | |
| parent | Fix accessibility in intrusive_list_node and return value of operator-- in in... (diff) | |
m_spanningtree Remove the (now) undocumented disablehmac config option
Diffstat (limited to 'src/modules/m_spanningtree/hmac.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/hmac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/hmac.cpp b/src/modules/m_spanningtree/hmac.cpp index d79f13567..638f283fa 100644 --- a/src/modules/m_spanningtree/hmac.cpp +++ b/src/modules/m_spanningtree/hmac.cpp @@ -55,7 +55,7 @@ std::string TreeSocket::MakePass(const std::string &password, const std::string * HMAC challenge/response. */ HashProvider* sha256 = ServerInstance->Modules->FindDataService<HashProvider>("hash/sha256"); - if (Utils->ChallengeResponse && sha256 && !challenge.empty()) + if (sha256 && !challenge.empty()) return "AUTH:" + BinToBase64(sha256->hmac(password, challenge)); if (!challenge.empty() && !sha256) |
