forked from osmocom/wireshark
ssl: Fix heartbeat message length.
The length of the "Heartbeat Message" element is equal to the record length. Change-Id: I10010442db1615b61bad5f525aad4d49a4c8de29 Reviewed-on: https://code.wireshark.org/review/12678 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
eb111742e0
commit
ba84919fa7
|
@ -2017,7 +2017,7 @@ dissect_ssl3_heartbeat(tvbuff_t *tvb, packet_info *pinfo,
|
|||
|
||||
if (tree) {
|
||||
ti = proto_tree_add_item(tree, hf_ssl_heartbeat_message, tvb,
|
||||
offset, record_length - 32, ENC_NA);
|
||||
offset, record_length, ENC_NA);
|
||||
tls_heartbeat_tree = proto_item_add_subtree(ti, ett_ssl_heartbeat);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue