diff options
-rw-r--r-- | asn1/c1222/c1222.cnf | 6 | ||||
-rw-r--r-- | epan/dissectors/packet-c1222.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/asn1/c1222/c1222.cnf b/asn1/c1222/c1222.cnf index 851f40c3f5..76e54f5127 100644 --- a/asn1/c1222/c1222.cnf +++ b/asn1/c1222/c1222.cnf @@ -18,7 +18,7 @@ MESSAGE #.FIELD_RENAME -#.TYPE_ATTR +#.TYPE_ATTR Calling-authentication-value-c1222/_untag/iv-element BLURB="c1222.iv-element" Calling-authentication-value-c1222/_untag/key-id-element BLURB = "c1222.key-id-element" AP-invocation-id TYPE=FT_UINT32 @@ -32,7 +32,7 @@ AE-qualifier TYPE=FT_UINT32 proto_item *tf = NULL; proto_tree *epsem_tree = NULL; FILL_START; - + /* get Tag and Length */ offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &end_device_class, &pc, &tag); offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind); @@ -99,6 +99,8 @@ AE-qualifier TYPE=FT_UINT32 FILL_TABLE(iv_element); #.FN_BODY MESSAGE +/**/#ifdef HAVE_LIBGCRYPT clear_canon(); +/**/#endif %(DEFAULT_BODY)s #.END diff --git a/epan/dissectors/packet-c1222.c b/epan/dissectors/packet-c1222.c index 2b1a9dddb0..ba62edfc3e 100644 --- a/epan/dissectors/packet-c1222.c +++ b/epan/dissectors/packet-c1222.c @@ -1500,7 +1500,7 @@ dissect_c1222_User_information(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int proto_item *tf = NULL; proto_tree *epsem_tree = NULL; FILL_START; - + /* get Tag and Length */ offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &end_device_class, &pc, &tag); offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind); @@ -1548,7 +1548,9 @@ dissect_c1222_MESSAGE_U(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset static int dissect_c1222_MESSAGE(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { #line 102 "../../asn1/c1222/c1222.cnf" +/**/#ifdef HAVE_LIBGCRYPT clear_canon(); +/**/#endif offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_APP, 0, TRUE, dissect_c1222_MESSAGE_U); |