diff options
Diffstat (limited to 'src/tls/tls_channel.h')
-rw-r--r-- | src/tls/tls_channel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tls/tls_channel.h b/src/tls/tls_channel.h index 367c3560d..a461d16f3 100644 --- a/src/tls/tls_channel.h +++ b/src/tls/tls_channel.h @@ -177,21 +177,21 @@ class BOTAN_DLL Channel RandomNumberGenerator& m_rng; Session_Manager& m_session_manager; + /* cipher/sequence state */ std::unique_ptr<class Connection_Sequence_Numbers> m_sequence_numbers; - - /* writing cipher state */ - std::vector<byte> m_writebuf; std::unique_ptr<class Connection_Cipher_State> m_write_cipherstate; + std::unique_ptr<class Connection_Cipher_State> m_read_cipherstate; - /* reading cipher state */ + /* I/O buffers */ + std::vector<byte> m_writebuf; std::vector<byte> m_readbuf; size_t m_readbuf_pos = 0; - std::unique_ptr<class Connection_Cipher_State> m_read_cipherstate; /* connection parameters */ std::unique_ptr<Handshake_State> m_active_state; std::unique_ptr<Handshake_State> m_pending_state; + /* misc, should be removed? */ size_t m_max_fragment = MAX_PLAINTEXT_SIZE; bool m_secure_renegotiation = false; |