diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-12-31 14:30:20 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-12-31 14:30:20 -0500 |
commit | ff110c6e183ecfaf946734d51427b0f197fe8472 (patch) | |
tree | 9e2342e93121600f9152fba1e6597eaee35094d8 /filters.h | |
parent | fd52848c04e27262207d2c1035834c19b8b0e844 (diff) | |
download | cryptopp-git-ff110c6e183ecfaf946734d51427b0f197fe8472.tar.gz |
Fix AuthenticatedDecryptionFilter (GH #817)
Thanks to @Nyk72 and @LiKao on GitHub for diagnosing and fixing the issue
Diffstat (limited to 'filters.h')
-rw-r--r-- | filters.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -715,6 +715,8 @@ public: 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:
|