summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StringCodecs/HMACSHA1.cpp')
-rw-r--r--Swiften/StringCodecs/HMACSHA1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/StringCodecs/HMACSHA1.cpp b/Swiften/StringCodecs/HMACSHA1.cpp
index 59f1482..f4066cb 100644
--- a/Swiften/StringCodecs/HMACSHA1.cpp
+++ b/Swiften/StringCodecs/HMACSHA1.cpp
@@ -31,9 +31,9 @@ ByteArray HMACSHA1::getResult(const ByteArray& key, const ByteArray& data) {
for (unsigned int i = 0; i < y.getSize(); ++i) {
y[i] ^= 0x5c;
}
- y += SHA1::getBinaryHash(x);
+ y += SHA1::getHash(x);
- return SHA1::getBinaryHash(y);
+ return SHA1::getHash(y);
}
}