diff options
author | lloyd <[email protected]> | 2012-09-06 16:01:36 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-09-06 16:01:36 +0000 |
commit | 7db674b3f7addb342b258f71df4352f48b7d2a2f (patch) | |
tree | 7dd4dda7fcf294e1bb1c57795d996ddb65b8dc1f /src | |
parent | 244426e18fd6b0733f2c6cb530cc76f186b31ca8 (diff) |
Record_Reader::m_macbuf no longer used
Diffstat (limited to 'src')
-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; |