Ethereal-dev: [Ethereal-dev] ASN2ETH compiler patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Tomas Kukosa <tomas.kukosa@xxxxxxxxxxx>
Date: Fri, 01 Oct 2004 15:22:17 +0200

The attached patch to the asn2eth compiler contains following changes:
- fix for protocol registration (register_dissector() does not return handle)
- new directive REGISTER which can register PDU more than once
- implicit tagging environment is supported

Please, check in.

  Regards,
    Tomas

Attachment: asn2eth.py.diff.gz
Description: GNU Zip compressed data

# x509ce.cnf
# X509CE conformation file

# $Id: x509ce.cnf,v 1.2 2004/06/03 08:35:44 guy Exp $

#.MODULE_IMPORT
InformationFramework x509if
AuthenticationFramework x509af
SelectedAttributeTypes x509sat

#.INCLUDE ../x509if/x509if_exp.cnf
#.INCLUDE ../x509af/x509af_exp.cnf
#.INCLUDE ../x509sat/x509sat_exp.cnf

#.EXPORTS

GeneralNames

#.NO_EMIT

#.TYPE_RENAME

#.FIELD_RENAME

#.REGISTER
AttributesSyntax          B   "2.5.29.9"  "id-ce-subjectDirectoryAttributes"
SubjectKeyIdentifier      B   "2.5.29.14" "id-ce-subjectKeyIdentifier"
KeyUsage                  B   "2.5.29.15" "id-ce-keyUsage"
PrivateKeyUsagePeriod     B   "2.5.29.16" "id-ce-privateKeyUsagePeriod"
GeneralNames              B   "2.5.29.17" "id-ce-subjectAltName"
GeneralNames              B   "2.5.29.18" "id-ce-issuerAltName"
BasicConstraintsSyntax    B   "2.5.29.19" "id-ce-basicConstraints"
CRLNumber                 B   "2.5.29.20" "id-ce-cRLNumber"
CRLReason                 B   "2.5.29.21" "id-ce-reasonCode"
HoldInstruction           B   "2.5.29.23" "id-ce-instructionCode"
BaseCRLNumber             B   "2.5.29.27" "id-ce-deltaCRLIndicator"
IssuingDistPointSyntax    B   "2.5.29.28" "id-ce-issuingDistributionPoint"
GeneralNames              B   "2.5.29.29" "id-ce-certificateIssuer"
NameConstraintsSyntax     B   "2.5.29.30" "id-ce-nameConstraints"
CRLDistPointsSyntax       B   "2.5.29.31" "id-ce-cRLDistributionPoints"
CertificatePoliciesSyntax B   "2.5.29.32" "id-ce-certificatePolicies"
PolicyMappingsSyntax      B   "2.5.29.33" "id-ce-policyMappings"
AuthorityKeyIdentifier    B   "2.5.29.35" "id-ce-authorityKeyIdentifier"
PolicyConstraintsSyntax   B   "2.5.29.36" "id-ce-policyConstraints"
KeyPurposeIDs             B   "2.5.29.37" "id-ce-extKeyUsage"
CRLStreamIdentifier       B   "2.5.29.40" "id-ce-cRLStreamIdentifier"
CRLScopeSyntax            B   "2.5.29.44" "id-ce-cRLScope"
StatusReferrals           B   "2.5.29.45" "id-ce-statusReferrals"
CRLDistPointsSyntax       B   "2.5.29.46" "id-ce-freshestCRL"
OrderedListSyntax         B   "2.5.29.47" "id-ce-orderedList"
DeltaInformation          B   "2.5.29.53" "id-ce-deltaInfo"
SkipCerts                 B   "2.5.29.54" "id-ce-inhibitAnyPolicy"

#.END