diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2008-11-21 05:32:06 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2008-11-21 05:32:06 +0000 |
commit | cbffc7c2ab7be4276878304e79b02184f9de06ba (patch) | |
tree | 7b16643cf5c6134d6231f6005ac4fb75893cb03a /filters.cpp | |
parent | 01b36798dbdd4f421f7085ef42aac90385770aac (diff) | |
download | cryptopp-cbffc7c2ab7be4276878304e79b02184f9de06ba.tar.gz |
fix HashFilter bug when putMessage=true (UnFleshed One)
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@426 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'filters.cpp')
-rw-r--r-- | filters.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filters.cpp b/filters.cpp index 9f4308b..28b6929 100644 --- a/filters.cpp +++ b/filters.cpp @@ -715,9 +715,9 @@ void HashFilter::IsolatedInitialize(const NameValuePairs ¶meters) size_t HashFilter::Put2(const byte *inString, size_t length, int messageEnd, bool blocking) { FILTER_BEGIN; - m_hashModule.Update(inString, length); if (m_putMessage) FILTER_OUTPUT(1, inString, length, 0); + m_hashModule.Update(inString, length); if (messageEnd) { { |