From 6bc3bcb34946933bf14c7d8df3cc646f5f977160 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Tue, 22 Nov 2016 16:16:23 +0000 Subject: [PATCH] Fix a bug in TLSProxy where zero length messages were not being recorded Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/1983) --- util/TLSProxy/Message.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/TLSProxy/Message.pm b/util/TLSProxy/Message.pm index 1810d8c30e..0821bdedd3 100644 --- a/util/TLSProxy/Message.pm +++ b/util/TLSProxy/Message.pm @@ -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 -- 2.25.1