diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-26 17:07:17 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-05-17 17:37:45 +0200 |
commit | de0717ebccd7daf6e68b6aae09e900c9cd9ad37d (patch) | |
tree | 816e2e6a81f3f26db3b282506c9b1fcc603b47bd /NOTES.VMS | |
parent | There is only one read buffer (diff) | |
download | openssl-de0717ebccd7daf6e68b6aae09e900c9cd9ad37d.tar.xz openssl-de0717ebccd7daf6e68b6aae09e900c9cd9ad37d.zip |
Use the current record offset in ssl3_get_record
The function ssl3_get_record() can obtain multiple records in one go
as long as we are set up for pipelining and all the records are app
data records. The logic in the while loop which reads in each record is
supposed to only continue looping if the last record we read was app data
and we have an app data record waiting in the buffer to be processed. It
was actually checking that the first record had app data and we have an
app data record waiting. This actually amounts to the same thing so wasn't
wrong - but it looks a bit odd because it uses the |rr| array without an
offset.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'NOTES.VMS')
0 files changed, 0 insertions, 0 deletions