diff options
author | Matt Caswell <matt@openssl.org> | 2016-11-22 16:16:23 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-12-08 17:19:38 +0000 |
commit | d70bde8805800473da0f25671902f1b4b07eecca (patch) | |
tree | 8239b37ce1fd204c15d3710e3fbaab71af5682d5 /util | |
parent | 0bfe166b8ffa1f0efe986e4d731e289c48437895 (diff) |
Fix a bug in TLSProxy where zero length messages were not being recorded
Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich
Salz
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/TLSProxy/Message.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/TLSProxy/Message.pm b/util/TLSProxy/Message.pm index 8e743c56d3..e5c42c83c4 100644 --- a/util/TLSProxy/Message.pm +++ b/util/TLSProxy/Message.pm @@ -187,7 +187,7 @@ sub get_messages $recoffset += 4; $payload = ""; - if ($recoffset < $record->decrypt_len) { + if ($recoffset <= $record->decrypt_len) { #Some payload data is present in this record if ($record->decrypt_len - $recoffset >= $messlen) { #We can complete the message with this record |