aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/sha1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/sha1.cpp')
-rw-r--r--src/crypto/sha1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/sha1.cpp b/src/crypto/sha1.cpp
index e0f32b7d1d..304401a50f 100644
--- a/src/crypto/sha1.cpp
+++ b/src/crypto/sha1.cpp
@@ -172,7 +172,7 @@ CSHA1& CSHA1::Write(const unsigned char *data, size_t len) {
return *this;
}
-void CSHA1::Finalize(unsigned char *hash) {
+void CSHA1::Finalize(unsigned char hash[OUTPUT_SIZE]) {
static const unsigned char pad[64] = {0x80};
unsigned char sizedesc[8];
WriteBE64(sizedesc, bytes << 3);