Workaround clang-tidy warning on newer clang-tidy versions
This commit is contained in:
parent
76e7f7da72
commit
5b0fa8c2f7
@ -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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user