diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-11-21 14:10:55 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-11-21 14:10:55 +0000 |
commit | 7c48c9ab807d5cf61fc7b50851058b27eba7692e (patch) | |
tree | 6735e324df0ee286e1e21cd8be473e39743d44b8 /epan | |
parent | cfce233c75f8f5872facc6cb7bb3ba24094d774a (diff) |
more SSL debug info concerning conversation and ssl_session
svn path=/trunk/; revision=23528
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ssl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c index 9f79248ebf..6c5c6d909f 100644 --- a/epan/dissectors/packet-ssl.c +++ b/epan/dissectors/packet-ssl.c @@ -530,6 +530,7 @@ dissect_ssl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* create a new conversation */ conversation = conversation_new(pinfo->fd->num, &pinfo->src, &pinfo->dst, pinfo->ptype, pinfo->srcport, pinfo->destport, 0); + ssl_debug_printf(" new conversation = %p created\n", conversation); } conv_data = conversation_get_proto_data(conversation, proto_ssl); @@ -573,6 +574,8 @@ dissect_ssl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (pinfo->fd->flags.visited) ssl_session = NULL; + ssl_debug_printf(" conversation = %p, ssl_session = %p\n", conversation, ssl_session); + /* Initialize the protocol column; we'll set it later when we * figure out what flavor of SSL it is (assuming we don't * throw an exception before we get the chance to do so). */ @@ -3451,6 +3454,7 @@ void ssl_set_master_secret(guint32 frame_num, address *addr_srv, address *addr_c if (!conversation) { /* create a new conversation */ conversation = conversation_new(frame_num, addr_srv, addr_cli, ptype, port_srv, port_cli, 0); + ssl_debug_printf(" new conversation = %p created\n", conversation); } conv_data = conversation_get_proto_data(conversation, proto_ssl); @@ -3463,6 +3467,8 @@ void ssl_set_master_secret(guint32 frame_num, address *addr_srv, address *addr_c conversation_add_proto_data(conversation, proto_ssl, ssl); } + ssl_debug_printf(" conversation = %p, ssl_session = %p\n", conversation, ssl); + /* version */ if ((ssl->version==SSL_VER_UNKNOWN) && (version!=SSL_VER_UNKNOWN)) { switch (version) { |