diff options
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.c')
-rw-r--r-- | epan/dissectors/packet-ssl-utils.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c index 1c20bbf51c..9bb63f7a9e 100644 --- a/epan/dissectors/packet-ssl-utils.c +++ b/epan/dissectors/packet-ssl-utils.c @@ -3511,11 +3511,11 @@ ssl_add_record_info(gint proto, packet_info *pinfo, guchar* data, gint data_len, SslRecordInfo* rec; SslPacketInfo* pi; - pi = (SslPacketInfo *)p_get_proto_data(pinfo->fd, proto); + pi = (SslPacketInfo *)p_get_proto_data(pinfo->fd, proto, 0); if (!pi) { pi = (SslPacketInfo *)se_alloc0(sizeof(SslPacketInfo)); - p_add_proto_data(pinfo->fd, proto, pi); + p_add_proto_data(pinfo->fd, proto, 0, pi); } real_data = (guchar *)se_alloc(data_len); @@ -3537,7 +3537,7 @@ ssl_get_record_info(tvbuff_t *parent_tvb, int proto, packet_info *pinfo, gint re { SslRecordInfo* rec; SslPacketInfo* pi; - pi = (SslPacketInfo *)p_get_proto_data(pinfo->fd, proto); + pi = (SslPacketInfo *)p_get_proto_data(pinfo->fd, proto, 0); if (!pi) return NULL; @@ -3556,11 +3556,11 @@ ssl_add_data_info(gint proto, packet_info *pinfo, guchar* data, gint data_len, g SslDataInfo *rec, **prec; SslPacketInfo *pi; - pi = (SslPacketInfo *)p_get_proto_data(pinfo->fd, proto); + pi = (SslPacketInfo *)p_get_proto_data(pinfo->fd, proto, 0); if (!pi) { pi = (SslPacketInfo *)se_alloc0(sizeof(SslPacketInfo)); - p_add_proto_data(pinfo->fd, proto,pi); + p_add_proto_data(pinfo->fd, proto, 0, pi); } rec = (SslDataInfo *)se_alloc(sizeof(SslDataInfo)+data_len); @@ -3591,7 +3591,7 @@ ssl_get_data_info(int proto, packet_info *pinfo, gint key) { SslDataInfo* rec; SslPacketInfo* pi; - pi = (SslPacketInfo *)p_get_proto_data(pinfo->fd, proto); + pi = (SslPacketInfo *)p_get_proto_data(pinfo->fd, proto, 0); if (!pi) return NULL; |