diff options
Diffstat (limited to 'src/tls/tls_channel.cpp')
-rw-r--r-- | src/tls/tls_channel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tls/tls_channel.cpp b/src/tls/tls_channel.cpp index 4c9c12d92..0c1f9fd09 100644 --- a/src/tls/tls_channel.cpp +++ b/src/tls/tls_channel.cpp @@ -174,12 +174,12 @@ void Channel::read_handshake(byte rec_type, if(!m_state) m_state.reset(new_handshake_state()); - m_state->handshake_reader().add_input(rec_type, &rec_buf[0], rec_buf.size()); + m_state->handshake_io().add_input(rec_type, &rec_buf[0], rec_buf.size()); - while(m_state && m_state->handshake_reader().have_full_record()) + while(m_state && m_state->handshake_io().have_full_record()) { std::pair<Handshake_Type, std::vector<byte> > msg = - m_state->handshake_reader().get_next_record(); + m_state->handshake_io().get_next_record(); process_handshake_msg(msg.first, msg.second); } } |