aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_record.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-04 20:52:06 +0000
committerlloyd <[email protected]>2012-01-04 20:52:06 +0000
commit0937d977a5262917cca3be6c2316ed68b092a31f (patch)
treebbc7e8eb6d47b21f220dc33399659cc62610f778 /src/tls/tls_record.h
parent734f004e883d2b55764c91da3bda16cb54a07686 (diff)
Have Record_Writer use a single persistent buffer for outbound
traffic.
Diffstat (limited to 'src/tls/tls_record.h')
-rw-r--r--src/tls/tls_record.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tls/tls_record.h b/src/tls/tls_record.h
index 719bf6b43..69ca1b9bc 100644
--- a/src/tls/tls_record.h
+++ b/src/tls/tls_record.h
@@ -1,6 +1,6 @@
/*
* TLS Record Handling
-* (C) 2004-2010 Jack Lloyd
+* (C) 2004-2012 Jack Lloyd
*
* Released under the terms of the Botan license
*/
@@ -63,6 +63,8 @@ class BOTAN_DLL Record_Writer
std::tr1::function<void (const byte[], size_t)> m_output_fn;
+ MemoryVector<byte> m_writebuf;
+
Pipe m_cipher;
MessageAuthenticationCode* m_mac;