Hi Tomas,
I tried again to get X509AF working with the compiler but get errors i dont
understand.
I have attached the files I used.
I try to generate the dissector using :
../../tools/asn2eth.py -X -b -p x509af -s packet-x509af-template
AuthenticationFramework.asn
Which generates warnings and errors i dont understand.
1, ===
../../tools/asn2eth.py:815: UserWarning: The same type names for different
types. Explicit renaming is recommended.
T_subject
T_subject AttributeCertificateInfo/subject
T_subject1 AttributeCertificateAssertion/subject
I tried to fix this by adding :
#.FIELD_RENAME
AttributeCertificateInfo/subject info_subject
AttributeCertificateAssertion/subject assertion_subject
to x509af.cnf but that did not help. What did i do wrong?
I also get a whole bunch of:
#Unhandled GetTTag() in SetOfType
SetOfType
name: CrossCertificates
val:
Type_Ref
name: None
val: Certificate
constr: None
constr: None
What do these ones mean and what should I do to resolve them?
----- Original Message -----
From: "Tomas Kukosa"
Sent: Friday, May 28, 2004 7:23 PM
Subject: Re: [Ethereal-dev] H235 & ASN1 compiler
>
> > On Tue, May 25, 2004 at 11:23:54AM -0700, Guy Harris wrote:
> >
> >>../packet-h235.c: In function `dissect_h235_NULL':
> >>../packet-h235.c:556: warning: unused parameter `pinfo'
> >
> >
> > For that one, the translator could perhaps figure out whether an
> > argument is used and emit _U_ after it if so - but, as the dissectors
> > are all machine-generated, and as the argument can't be omitted as a
> > pointer to that function is used, the translator can probably just emit
> > _U_ for *all* "pinfo" arguments, and perhaps for *all* arguments.
>
> The argument can be used with user defined code in the dissector function.
> What happens if the _U_ is emitted and the parameter is used in the
function?
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
Attachment:
x509af.tgz
Description: application/compressed