aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha1/sha160.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/sha1/sha160.cpp')
-rw-r--r--src/hash/sha1/sha160.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/sha1/sha160.cpp b/src/hash/sha1/sha160.cpp
index 4778e5765..aa6a066e8 100644
--- a/src/hash/sha1/sha160.cpp
+++ b/src/hash/sha1/sha160.cpp
@@ -125,7 +125,7 @@ void SHA_160::compress_n(const byte input[], size_t blocks)
D = (digest[3] += D);
E = (digest[4] += E);
- input += HASH_BLOCK_SIZE;
+ input += hash_block_size();
}
}