tvb_new_real_data()->tvb_child_new_real_data()
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 25 Jun 2009 05:59:04 +0000 (05:59 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 25 Jun 2009 05:59:04 +0000 (05:59 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28843 f5534014-38df-0310-8fa8-9805f1628bb7

asn1/spnego/packet-spnego-template.c

index 3cc716756582d668658f3b31cfbaed0aefe5d908..095fe79f47356bfb10b0310cc2e6274c910d76c6 100644 (file)
@@ -719,11 +719,10 @@ 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_real_data(
+               pinfo->gssapi_decrypted_tvb=tvb_child_new_real_data(tvb,
                        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;
        }