From c2f6c37e6dda61645fe30e24e911c7340a0de82c Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 8 Apr 2004 01:23:48 +0000 Subject: [PATCH] avoid using hash keyword --- iterhash.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iterhash.h b/iterhash.h index 5adecd3c..7769badb 100644 --- a/iterhash.h +++ b/iterhash.h @@ -61,7 +61,7 @@ public: ConditionalByteReverse(B::ToEnum(), out, in, byteCount); } - void TruncatedFinal(byte *hash, unsigned int size); + void TruncatedFinal(byte *digest, unsigned int size); protected: void HashBlock(const HashWordType *input); @@ -100,7 +100,7 @@ protected: // ************************************************************* -template void IteratedHashBase2::TruncatedFinal(byte *hash, unsigned int size) +template void IteratedHashBase2::TruncatedFinal(byte *digest, unsigned int size) { ThrowIfInvalidTruncatedSize(size); @@ -112,7 +112,7 @@ template void IteratedHashBase2::Trun HashEndianCorrectedBlock(m_data); CorrectEndianess(m_digest, m_digest, DigestSize()); - memcpy(hash, m_digest, size); + memcpy(digest, m_digest, size); Restart(); // reinit for next use }