aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_channel.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-09-09 17:01:29 +0000
committerlloyd <[email protected]>2012-09-09 17:01:29 +0000
commitc5a6db501a92cd9a628ed051d2f26bcecd4b5587 (patch)
treecbfe7dbe6e72af52d4f86290c5265887acfa437a /src/tls/tls_channel.cpp
parent1de2b9826a94980c9ac24da67df080379656614b (diff)
Hide Channel::m_rng and Channel::m_session_manager, add getters
Diffstat (limited to 'src/tls/tls_channel.cpp')
-rw-r--r--src/tls/tls_channel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_channel.cpp b/src/tls/tls_channel.cpp
index cb811278a..eea9edb74 100644
--- a/src/tls/tls_channel.cpp
+++ b/src/tls/tls_channel.cpp
@@ -25,10 +25,10 @@ Channel::Channel(std::function<void (const byte[], size_t)> output_fn,
Session_Manager& session_manager,
RandomNumberGenerator& rng) :
m_handshake_fn(handshake_complete),
- m_rng(rng),
- m_session_manager(session_manager),
m_proc_fn(proc_fn),
m_output_fn(output_fn),
+ m_rng(rng),
+ m_session_manager(session_manager),
m_writebuf(TLS_HEADER_SIZE + MAX_CIPHERTEXT_SIZE),
m_readbuf(TLS_HEADER_SIZE + MAX_CIPHERTEXT_SIZE)
{