Skip to content

Commit

Permalink
Fix AuthenticatedDecryptionFilter (GH #817)
Browse files Browse the repository at this point in the history
Thanks to @Nyk72 and @LiKao on GitHub for diagnosing and fixing the issue
  • Loading branch information
noloader committed Dec 31, 2019
1 parent fd52848 commit ff110c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions filters.h
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,8 @@ class CRYPTOPP_DLL AuthenticatedDecryptionFilter : public FilterWithBufferedInpu
std::string AlgorithmName() const {return m_hashVerifier.AlgorithmName();}
byte * ChannelCreatePutSpace(const std::string &channel, size_t &size);
size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking);
size_t ChannelPutModifiable2(const std::string &channel, byte *begin, size_t length, int messageEnd, bool blocking)
{ return ChannelPut2(channel, begin, length, messageEnd, blocking); }
bool GetLastResult() const {return m_hashVerifier.GetLastResult();}

protected:
Expand Down

0 comments on commit ff110c6

Please sign in to comment.