diff options
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/hmac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/hmac.cpp b/src/modules/m_spanningtree/hmac.cpp index ad35a585f..00f908dc8 100644 --- a/src/modules/m_spanningtree/hmac.cpp +++ b/src/modules/m_spanningtree/hmac.cpp @@ -77,10 +77,10 @@ std::string TreeSocket::MakePass(const std::string &password, const std::string } hmac2 += challenge; - hmac2 = HashRequest(Utils->Creator, sha256, hmac2).result; + hmac2 = HashRequest(Utils->Creator, sha256, hmac2).hex(); std::string hmac = hmac1 + hmac2; - hmac = HashRequest(Utils->Creator, sha256, hmac).result; + hmac = HashRequest(Utils->Creator, sha256, hmac).hex(); return "HMAC-SHA256:"+ hmac; } |