diff options
Diffstat (limited to 'src/tls/tls_handshake_state.cpp')
-rw-r--r-- | src/tls/tls_handshake_state.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/tls/tls_handshake_state.cpp b/src/tls/tls_handshake_state.cpp index 044e97366..8ff0fb585 100644 --- a/src/tls/tls_handshake_state.cpp +++ b/src/tls/tls_handshake_state.cpp @@ -200,26 +200,6 @@ void Handshake_State::compute_session_keys(const secure_vector<byte>& resume_mas m_session_keys = Session_Keys(this, resume_master_secret, true); } -void Handshake_State::copy_cipher_states(const Handshake_State& prev_state) - { - m_write_cipher_state = prev_state.m_write_cipher_state; - m_read_cipher_state = prev_state.m_read_cipher_state; - } - -void Handshake_State::new_read_cipher_state(Connection_Side side) - { - m_read_cipher_state.reset( - new Connection_Cipher_State(version(), side, ciphersuite(), session_keys()) - ); - } - -void Handshake_State::new_write_cipher_state(Connection_Side side) - { - m_write_cipher_state.reset( - new Connection_Cipher_State(version(), side, ciphersuite(), session_keys()) - ); - } - void Handshake_State::confirm_transition_to(Handshake_Type handshake_msg) { const u32bit mask = bitmask_for_handshake_type(handshake_msg); |