diff options
-rw-r--r-- | src/tls/rec_read.cpp | 4 | ||||
-rw-r--r-- | src/tls/tls_record.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/tls/rec_read.cpp b/src/tls/rec_read.cpp index e640cd5eb..10184e735 100644 --- a/src/tls/rec_read.cpp +++ b/src/tls/rec_read.cpp @@ -27,8 +27,6 @@ void Record_Reader::reset() { set_maximum_fragment_size(0); - m_macbuf.clear(); - zeroise(m_readbuf); m_readbuf_pos = 0; @@ -78,8 +76,6 @@ void Record_Reader::change_cipher_spec(Connection_Side side, m_read_cipherstate.reset( new Connection_Cipher_State(m_version, side, suite, keys) ); - - m_macbuf.resize(m_read_cipherstate->mac_size()); } /* diff --git a/src/tls/tls_record.h b/src/tls/tls_record.h index 9a27ba567..1f21e9a00 100644 --- a/src/tls/tls_record.h +++ b/src/tls/tls_record.h @@ -184,7 +184,6 @@ class BOTAN_DLL Record_Reader Record_Reader& operator=(const Record_Reader&) = delete; private: std::vector<byte> m_readbuf; - std::vector<byte> m_macbuf; size_t m_readbuf_pos = 0; std::unique_ptr<Connection_Cipher_State> m_read_cipherstate; |