summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--epan/dissectors/packet-ssl.c7
2 files changed, 3 insertions, 5 deletions
diff --git a/AUTHORS b/AUTHORS
index 0e7b087564..6033aee898 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -2687,6 +2687,7 @@ Joe Breher <linux [AT] q-music.com>
Patrick vd Lageweg <patrick [AT] bitwizard.nl>
Thomas Sillaber <Thomas.Sillaber [AT] gmx.de>
Sebastien Tandel <sebastien [AT] tandel.be>
+Sake Blok <sake [AT] euronet.nl>
Alain Magloire <alainm[AT]rcsm.ece.mcgill.ca> was kind enough to
give his permission to use his version of snprintf.c.
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;
}