diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-04-21 10:14:04 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-04-21 10:14:04 +0000 |
commit | 9bfdc344d2f85ffdf947996004f72fba288a1ada (patch) | |
tree | 6ae6abd309fd176d0def355eea9878e0752bb8c5 /asn1/x509af | |
parent | 253e2541e9c08ab85c1706dc1e6e6c8364c285fe (diff) |
Export Certificate PDU so this can be dissected from non-asn dissectors.
svn path=/trunk/; revision=32532
Diffstat (limited to 'asn1/x509af')
-rw-r--r-- | asn1/x509af/packet-x509af-template.c | 6 | ||||
-rw-r--r-- | asn1/x509af/x509af.cnf | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/asn1/x509af/packet-x509af-template.c b/asn1/x509af/packet-x509af-template.c index 4cdf7c2b4b..7f6ad969c2 100644 --- a/asn1/x509af/packet-x509af-template.c +++ b/asn1/x509af/packet-x509af-template.c @@ -156,8 +156,8 @@ void proto_reg_handoff_x509af(void) { /* these will generally be encoded as ";binary" in LDAP */ - register_ldap_name_dissector("cACertificate", dissect_Certificate_PDU, proto_x509af); - register_ldap_name_dissector("userCertificate", dissect_Certificate_PDU, proto_x509af); + register_ldap_name_dissector("cACertificate", dissect_x509af_Certificate_PDU, proto_x509af); + register_ldap_name_dissector("userCertificate", dissect_x509af_Certificate_PDU, proto_x509af); register_ldap_name_dissector("certificateRevocationList", dissect_CertificateList_PDU, proto_x509af); register_ldap_name_dissector("crl", dissect_CertificateList_PDU, proto_x509af); @@ -167,7 +167,7 @@ void proto_reg_handoff_x509af(void) { register_ldap_name_dissector("crossCertificatePair", dissect_CertificatePair_PDU, proto_x509af); - register_ber_syntax_dissector("Certificate", proto_x509af, dissect_Certificate_PDU); + register_ber_syntax_dissector("Certificate", proto_x509af, dissect_x509af_Certificate_PDU); register_ber_oid_syntax(".cer", NULL, "Certificate"); register_ber_oid_syntax(".crt", NULL, "Certificate"); register_ber_syntax_dissector("CertificateList", proto_x509af, dissect_CertificateList_PDU); diff --git a/asn1/x509af/x509af.cnf b/asn1/x509af/x509af.cnf index e3decd78fb..763ca7336b 100644 --- a/asn1/x509af/x509af.cnf +++ b/asn1/x509af/x509af.cnf @@ -17,6 +17,7 @@ AttributeCertificateAssertion AttributeCertificateInfo AttributeCertificationPath Certificate +Certificate_PDU Certificates CertificateList CertificatePair |