aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x509if.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-x509if.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-x509if.c')
-rw-r--r--epan/dissectors/packet-x509if.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-x509if.c b/epan/dissectors/packet-x509if.c
index f2940de6ec..8db8c508fc 100644
--- a/epan/dissectors/packet-x509if.c
+++ b/epan/dissectors/packet-x509if.c
@@ -1070,7 +1070,7 @@ dissect_x509if_T_specificExclusions(gboolean implicit_tag _U_, tvbuff_t *tvb _U_
static int
dissect_x509if_BaseDistance(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;
@@ -2316,11 +2316,11 @@ void proto_register_x509if(void) {
"LocalName", HFILL }},
{ &hf_x509if_minimum,
{ "minimum", "x509if.minimum",
- FT_UINT32, BASE_DEC, NULL, 0,
+ FT_UINT64, BASE_DEC, NULL, 0,
"BaseDistance", HFILL }},
{ &hf_x509if_maximum,
{ "maximum", "x509if.maximum",
- FT_UINT32, BASE_DEC, NULL, 0,
+ FT_UINT64, BASE_DEC, NULL, 0,
"BaseDistance", HFILL }},
{ &hf_x509if_item,
{ "item", "x509if.item",