diff options
Diffstat (limited to 'Swiften/Crypto/WindowsCryptoProvider.cpp')
| -rw-r--r-- | Swiften/Crypto/WindowsCryptoProvider.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Swiften/Crypto/WindowsCryptoProvider.cpp b/Swiften/Crypto/WindowsCryptoProvider.cpp index 513941f..c784283 100644 --- a/Swiften/Crypto/WindowsCryptoProvider.cpp +++ b/Swiften/Crypto/WindowsCryptoProvider.cpp @@ -1,8 +1,8 @@ /* - * Copyright (c) 2012-2016 Isode Limited. + * Copyright (c) 2012-2017 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ /* * Copyright (c) 2013 Isode Limited. @@ -40,17 +40,17 @@ namespace { } virtual ~WindowsHash() { CryptDestroyHash(hash); } - virtual Hash& update(const ByteArray& data) SWIFTEN_OVERRIDE { + virtual Hash& update(const ByteArray& data) override { return updateInternal(data); } - virtual Hash& update(const SafeByteArray& data) SWIFTEN_OVERRIDE { + virtual Hash& update(const SafeByteArray& data) override { return updateInternal(data); } virtual std::vector<unsigned char> getHash() { std::vector<unsigned char> result; DWORD hashLength = sizeof(DWORD); @@ -120,17 +120,17 @@ namespace { } ~HMACHash() { CryptDestroyHash(hash); } - virtual Hash& update(const ByteArray& data) SWIFTEN_OVERRIDE { + virtual Hash& update(const ByteArray& data) override { return updateInternal(data); } - virtual Hash& update(const SafeByteArray& data) SWIFTEN_OVERRIDE { + virtual Hash& update(const SafeByteArray& data) override { return updateInternal(data); } virtual std::vector<unsigned char> getHash() { std::vector<unsigned char> result; DWORD hashLength = sizeof(DWORD); |
Swift