aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pkixac.c
diff options
context:
space:
mode:
authorPavel Strnad <strnadp@tiscali.cz>2017-10-25 10:34:47 +0200
committerMichael Mann <mmann78@netscape.net>2017-10-25 21:10:11 +0000
commit93fba33e95006e18d1e16e3e32cbfde3a2457a38 (patch)
tree448a811425a94ce3385cfe47acbb6b46399ccfa5 /epan/dissectors/packet-pkixac.c
parenteae216ef1db4b22e533231c8766cf4fad148eda6 (diff)
asn2wrs.py: use 64 bits variant for constrained integers using MIN or MAX keywords
Change-Id: Iffc7c81e9653e8c1cd938de8f4fc26c5912eceec Reviewed-on: https://code.wireshark.org/review/24049 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-pkixac.c')
-rw-r--r--epan/dissectors/packet-pkixac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pkixac.c b/epan/dissectors/packet-pkixac.c
index 375cefb688..ca63d31ba3 100644
--- a/epan/dissectors/packet-pkixac.c
+++ b/epan/dissectors/packet-pkixac.c
@@ -479,7 +479,7 @@ dissect_pkixac_RFC3281Clearance(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, in
static int
dissect_pkixac_INTEGER_0_MAX(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
- offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
+ offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index,
NULL);
return offset;
@@ -762,7 +762,7 @@ void proto_register_pkixac(void) {
NULL, HFILL }},
{ &hf_pkixac_pathLenConstraint,
{ "pathLenConstraint", "pkixac.pathLenConstraint",
- FT_UINT32, BASE_DEC, NULL, 0,
+ FT_UINT64, BASE_DEC, NULL, 0,
"INTEGER_0_MAX", HFILL }},
{ &hf_pkixac_permittedAttrs,
{ "permittedAttrs", "pkixac.permittedAttrs",