diff options
author | lloyd <[email protected]> | 2011-12-28 22:39:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-28 22:39:18 +0000 |
commit | eb6b59f2aef6a4999be244c7d90ace3f6bbcac5d (patch) | |
tree | 7b15e8034769e1a9d57335e1fb0259167299fcc6 /src/tls/hello.cpp | |
parent | b48a5b800a00e955cada6c418848c3bc460e44e7 (diff) |
Don't buffer in the record writer at all - we immediately process and
send out inputs as they are available. Thus, flushing is never
required, and we avoid some unnecessary copying.
If we are using a CBC mode cipher in SSLv3/TLSv1.0, send a 1-byte
fragment to start to prevent the adaptive plaintext attack.
Diffstat (limited to 'src/tls/hello.cpp')
-rw-r--r-- | src/tls/hello.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tls/hello.cpp b/src/tls/hello.cpp index 45eedbd76..510aabb3a 100644 --- a/src/tls/hello.cpp +++ b/src/tls/hello.cpp @@ -32,7 +32,6 @@ void HandshakeMessage::send(Record_Writer& writer, TLS_Handshake_Hash& hash) con hash.update(send_buf); writer.send(HANDSHAKE, &send_buf[0], send_buf.size()); - writer.flush(); } /* |