Re: [Wireshark-dev] dissect_per_constrained_integer() with

2016-12-22 Thread Pascal Quantin
> > --- > Date: Wed, 21 Dec 2016 16:07:02 +0100 > From: Pascal Quantin > To: Developer support list for Wireshark > Subject: Re: [Wireshark-dev] dissect_per_constrained_integer() with > no_bound (MA

Re: [Wireshark-dev] dissect_per_constrained_integer() with

2016-12-22 Thread Pavel Strnad
support list for Wireshark Subject: Re: [Wireshark-dev] dissect_per_constrained_integer() with no_bound (MAX in ASN.1) Message-ID: Content-Type: text/plain; charset="utf-8" Hi Pavel, 2016-12-21 15:37 GMT+01:00 Pavel Strnad : > Hello, > > I am trying to understan

Re: [Wireshark-dev] dissect_per_constrained_integer() with no_bound (MAX in ASN.1)

2016-12-21 Thread Pascal Quantin
Hi Pavel, 2016-12-21 15:37 GMT+01:00 Pavel Strnad : > Hello, > > I am trying to understand the difference in usage of NO_BOUND or UINT_MAX > in the place of max parameter in dissect_per_constrained_integer() > function. In my case aligned PER variant. > > > > From packet-per.h: > > #define NO_BOU

[Wireshark-dev] dissect_per_constrained_integer() with no_bound (MAX in ASN.1)

2016-12-21 Thread Pavel Strnad
Hello, I am trying to understand the difference in usage of NO_BOUND or UINT_MAX in the place of max parameter in dissect_per_constrained_integer() function. In my case aligned PER variant. >From packet-per.h: #define NO_BOUND -1 guint32 dissect_per_constrained_integer(tvbuff_t *tvb, guint3