summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Crypto/OpenSSLCryptoProvider.cpp')
-rw-r--r--Swiften/Crypto/OpenSSLCryptoProvider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Crypto/OpenSSLCryptoProvider.cpp b/Swiften/Crypto/OpenSSLCryptoProvider.cpp
index 9b1d544..41b4564 100644
--- a/Swiften/Crypto/OpenSSLCryptoProvider.cpp
+++ b/Swiften/Crypto/OpenSSLCryptoProvider.cpp
@@ -36,13 +36,13 @@ namespace {
}
virtual Hash& update(const SafeByteArray& data) SWIFTEN_OVERRIDE {
return updateInternal(data);
}
- virtual std::vector<unsigned char> getHash() {
+ virtual std::vector<unsigned char> getHash() SWIFTEN_OVERRIDE {
assert(!finalized);
std::vector<unsigned char> result(SHA_DIGEST_LENGTH);
SHA1_Final(vecptr(result), &context);
return result;
}
@@ -77,13 +77,13 @@ namespace {
}
virtual Hash& update(const SafeByteArray& data) SWIFTEN_OVERRIDE {
return updateInternal(data);
}
- virtual std::vector<unsigned char> getHash() {
+ virtual std::vector<unsigned char> getHash() SWIFTEN_OVERRIDE {
assert(!finalized);
std::vector<unsigned char> result(MD5_DIGEST_LENGTH);
MD5_Final(vecptr(result), &context);
return result;
}