aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_channel.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-09-11 14:45:25 +0000
committerlloyd <[email protected]>2012-09-11 14:45:25 +0000
commit841cc39716104b3438757188d1328a68c1464f81 (patch)
tree41feea43871703f532d3daccf370cc148ba89d4c /src/tls/tls_channel.cpp
parent1a90d151f7b0eaeada4ecae58eea90e1a27462a2 (diff)
The write buffer is cleared and rewritten by write_record, so we don't
need to pre-size it. Reorganize Channel members a bit
Diffstat (limited to 'src/tls/tls_channel.cpp')
-rw-r--r--src/tls/tls_channel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tls/tls_channel.cpp b/src/tls/tls_channel.cpp
index 6fa75766a..7aac56ecc 100644
--- a/src/tls/tls_channel.cpp
+++ b/src/tls/tls_channel.cpp
@@ -30,7 +30,6 @@ Channel::Channel(std::function<void (const byte[], size_t)> output_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)
{
}