>
> This should fix it. It tested OK under both the test suite and test
> vectors.
>
> $ git diff filters.cpp
> diff --git a/filters.cpp b/filters.cpp
> index 6b09a02..78fd635 100644
> --- a/filters.cpp
> +++ b/filters.cpp
> @@ -780,7 +780,8 @@ size_t HashFilter::Put2(const byte *inString, size_t
> length, int messageEnd, boo
> FILTER_BEGIN;
> if (m_putMessage)
> FILTER_OUTPUT3(1, 0, inString, length, 0,
> m_messagePutChannel);
> - m_hashModule.Update(inString, length);
> + if (inString && length)
> + m_hashModule.Update(inString, length);^M
> if (messageEnd)
> {
> {
>
We opened a bug report on the issue at
http://github.com/weidai11/cryptopp/issues/138; we cleared the issue at
http://github.com/weidai11/cryptopp/commit/c82fd655ed7465db8d21a0e0559c304a7a86d298.
You will need to perform a 'git pull' to fetch it.
Jeff
--
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
---
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.