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