summaryrefslogtreecommitdiff
path: root/filters.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-12-31 14:30:20 -0500
committerJeffrey Walton <noloader@gmail.com>2019-12-31 14:30:20 -0500
commitff110c6e183ecfaf946734d51427b0f197fe8472 (patch)
tree9e2342e93121600f9152fba1e6597eaee35094d8 /filters.h
parentfd52848c04e27262207d2c1035834c19b8b0e844 (diff)
downloadcryptopp-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/filters.h b/filters.h
index 4d74fce8..f3c5b160 100644
--- a/filters.h
+++ b/filters.h
@@ -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: