diff options
Diffstat (limited to 'src/lib/hash/sha1/sha160.cpp')
-rw-r--r-- | src/lib/hash/sha1/sha160.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/sha1/sha160.cpp b/src/lib/hash/sha1/sha160.cpp index be52d0d57..96bc2c682 100644 --- a/src/lib/hash/sha1/sha160.cpp +++ b/src/lib/hash/sha1/sha160.cpp @@ -68,7 +68,7 @@ void SHA_160::compress_n(const byte input[], size_t blocks) for(size_t i = 0; i != blocks; ++i) { - load_be(&W[0], input, 16); + load_be(W.data(), input, 16); for(size_t j = 16; j != 80; j += 8) { |