ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] asn2wrs.py no longer seems to generate the same code ...

From: Peter Wu <peter@xxxxxxxxxxxxx>
Date: Fri, 15 May 2020 23:29:47 +0200
Hi Richard,

On Fri, May 08, 2020 at 08:54:58AM -0700, Richard Sharpe wrote:
[..]
> It doesn't look like it was manually modified. The last person who
> touched that file was Peter Wu, it seems, so maybe he can shed some
> light on it.

How did you invoke asn2wrs.py? If I run the asn1 ninja/make target on my
system to regenerate dissectors based on the ASN.1 inputs, there are no
further changes.

Kind regards,
Peter

> > Le ven. 8 mai 2020 � 17:08, Richard Sharpe <realrichardsharpe@xxxxxxxxx> a �crit :
> >>
> >> Hi folks,
> >>
> >> While figuring out how to get a dissection function for
> >> ECDSA_Sig_Value, I noticed that asn2wrs.py no longer generates the
> >> same code it once did.
> >>
> >> I re-ran asn2wrs.py against epan/dissectors/asn1/pkcs1/pkcs1.cnf
> >> (unmodified) and then compared the current output to what is checked
> >> in. This is what I get: