aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2006-12-25 04:01:22 +0000
committerStephen Fisher <steve@stephen-fisher.com>2006-12-25 04:01:22 +0000
commitd5aa0e18440cf90df68e8bc80ad14285700aa1ef (patch)
tree4447808d0ad196d4c64bec0395a8a6af33587a99 /epan/dissectors
parent3094d7e3f6e50764c9d03f9f90debc847ffcd0b9 (diff)
From Sake Blok:
The attached patch changes the way the ssl-session-id is displayed. Currently it is not shown, only the length is shown like this: Session ID Length: 32 Session ID (32 bytes) To me, it is not useful to repeat the length and omit the ID itself. With this patch the ssl-session-id is shown like this: Session ID Length: 32 Session ID: A4B2FB0EE6D8F58DEFF68E38B1E5B4C25F1869D4BC86A96E... svn path=/trunk/; revision=20212
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-ssl.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c
index 64ceb569a2..2a37c03640 100644
--- a/epan/dissectors/packet-ssl.c
+++ b/epan/dissectors/packet-ssl.c
@@ -1589,12 +1589,9 @@ dissect_ssl3_hnd_hello_common(tvbuff_t *tvb, proto_tree *tree,
if (session_id_length > 0)
{
tvb_ensure_bytes_exist(tvb, offset, session_id_length);
- proto_tree_add_bytes_format(tree, hf_ssl_handshake_session_id,
+ proto_tree_add_bytes(tree, hf_ssl_handshake_session_id,
tvb, offset, session_id_length,
- tvb_get_ptr(tvb, offset, session_id_length),
- "Session ID (%u byte%s)",
- session_id_length,
- plurality(session_id_length, "", "s"));
+ tvb_get_ptr(tvb, offset, session_id_length));
offset += session_id_length;
}