Workaround clang-tidy warning on newer clang-tidy versions

This commit is contained in:
Sebastian Messmer 2017-10-27 15:29:38 +01:00
parent 76e7f7da72
commit 5b0fa8c2f7
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ namespace cpputils {
namespace hash {
Hash hash(const Data& data, Salt salt) {
SHA512 hasher;
SHA512 hasher; // NOLINT (workaround for clang-warning in libcrypto++)
hasher.Update((CryptoPP::byte*)salt.data(), Salt::BINARY_LENGTH);
hasher.Update((CryptoPP::byte*)data.data(), data.size());