aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/crmf
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-06-22 15:08:18 +0000
committerMichael Mann <mmann78@netscape.net>2013-06-22 15:08:18 +0000
commit87eb22f4648fd5283d2c91c2046c0aa90b7b469b (patch)
tree1d6d97e8c07b207f43a34ad48ee0e5b8b8e962c9 /asn1/crmf
parent707e2ce4098a65abde3dc2e89c970cd580937a4c (diff)
More proper fix (per advice of bug 8515 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8515)) of global variables complained about in bug 7060 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7060). Not sure if algorithm_id of x509af dissector could also be a actx->external.direct_reference, so left it alone.
svn path=/trunk/; revision=50113
Diffstat (limited to 'asn1/crmf')
-rw-r--r--asn1/crmf/crmf.cnf4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/crmf/crmf.cnf b/asn1/crmf/crmf.cnf
index 9bf6bfc9a5..f4bfef8bf4 100644
--- a/asn1/crmf/crmf.cnf
+++ b/asn1/crmf/crmf.cnf
@@ -68,10 +68,10 @@ PrivateKeyInfo/version privkey_version
EncKeyWithID/privateKey enckeywid_privkey
#.FN_PARS AttributeTypeAndValue/type
- FN_VARIANT = _str HF_INDEX = hf_crmf_type_oid VAL_PTR = (const char**)&actx->private_data
+ FN_VARIANT = _str HF_INDEX = hf_crmf_type_oid VAL_PTR = &actx->external.direct_reference
#.FN_BODY AttributeTypeAndValue/value
- offset=call_ber_oid_callback((const char*)actx->private_data, tvb, offset, actx->pinfo, tree);
+ offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree);
#.END