diff options
author | lloyd <[email protected]> | 2012-01-04 21:45:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-04 21:45:10 +0000 |
commit | 2815ce185cb476d9345581a532afab865170d246 (patch) | |
tree | bc926840432e1bd3731123c8e4da5379f017d2ee /src/tls/rec_wri.cpp | |
parent | 48cbc3d991308ecc155e36ea1ac6dbfe1762a928 (diff) |
Less buffer movement in the record reader
Diffstat (limited to 'src/tls/rec_wri.cpp')
-rw-r--r-- | src/tls/rec_wri.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/rec_wri.cpp b/src/tls/rec_wri.cpp index 199eb0234..d9f86492d 100644 --- a/src/tls/rec_wri.cpp +++ b/src/tls/rec_wri.cpp @@ -271,7 +271,7 @@ void Record_Writer::send_record(byte type, const byte input[], size_t length) // FIXME: this could be done in-place without copying m_cipher.process_msg(&m_writebuf[5], buf_size); size_t got_back = m_cipher.read(&m_writebuf[5], buf_size, Pipe::LAST_MESSAGE); - BOTAN_ASSERT_EQUAL(got_back, buf_size, "CBC didn't encrypt full blocks"); + BOTAN_ASSERT_EQUAL(got_back, buf_size, "Cipher didn't encrypt full amount"); m_output_fn(&m_writebuf[0], m_writebuf.size()); |