summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strciphr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/strciphr.h b/strciphr.h
index 7a71159a..bf9463cf 100644
--- a/strciphr.h
+++ b/strciphr.h
@@ -388,7 +388,8 @@ protected:
inline byte * KeystreamBufferBegin() {return this->m_buffer.data();}
inline byte * KeystreamBufferEnd() {return (PtrAdd(this->m_buffer.data(), this->m_buffer.size()));}
- AlignedSecByteBlock m_buffer;
+ // m_tempOutString added due to GH #1010
+ AlignedSecByteBlock m_buffer, m_tempOutString;
size_t m_leftOver;
};
@@ -633,6 +634,8 @@ protected:
void UncheckedSetKey(const byte *key, unsigned int length, const NameValuePairs &params);
+ // m_tempOutString added due to GH #1010
+ AlignedSecByteBlock m_tempOutString;
size_t m_leftOver;
};