Commit 6bc3bcb3 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix a bug in TLSProxy where zero length messages were not being recorded

parent 7bd011d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,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