aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-spnego.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-14 05:36:48 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-14 05:36:48 +0000
commitaa7735f02e870c6f5e166ac165e86b749e0aaa29 (patch)
tree410a2df140adb3f77392d9f303c878f28ef39dfe /epan/dissectors/packet-spnego.c
parent7a110cbd72b578020d8ef6c867a316fdc5d9d759 (diff)
Use tvb_new_child_real_data().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28357 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-spnego.c')
-rw-r--r--epan/dissectors/packet-spnego.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-spnego.c b/epan/dissectors/packet-spnego.c
index 2573082255..2714541d81 100644
--- a/epan/dissectors/packet-spnego.c
+++ b/epan/dissectors/packet-spnego.c
@@ -1218,10 +1218,11 @@ decrypt_gssapi_krb_cfx_wrap(proto_tree *tree _U_, packet_info *pinfo _U_, tvbuff
memcpy(outdata, output, tvb_length(tvb));
g_free(output);
- pinfo->gssapi_decrypted_tvb=tvb_new_child_real_data(tvb,
+ pinfo->gssapi_decrypted_tvb=tvb_new_real_data(
outdata,
datalen-16,
datalen-16);
+ tvb_set_child_real_data_tvbuff(tvb, pinfo->gssapi_decrypted_tvb);
add_new_data_source(pinfo, pinfo->gssapi_decrypted_tvb, "Decrypted GSS-Krb5");
return;
}
@@ -1959,7 +1960,7 @@ void proto_register_spnego(void) {
"", HFILL }},
/*--- End of included file: packet-spnego-hfarr.c ---*/
-#line 1377 "packet-spnego-template.c"
+#line 1376 "packet-spnego-template.c"
};
/* List of subtrees */
@@ -1981,7 +1982,7 @@ void proto_register_spnego(void) {
&ett_spnego_InitialContextToken_U,
/*--- End of included file: packet-spnego-ettarr.c ---*/
-#line 1387 "packet-spnego-template.c"
+#line 1386 "packet-spnego-template.c"
};
/* Register protocol */