diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-06-28 10:34:15 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-06-28 10:34:15 +0000 |
commit | 8246e874320aa13700d4c98ece43c229fb1ab1e6 (patch) | |
tree | 29097179034a4938937e938416e8d36703774e7f /epan/dissectors/packet-x509af.c | |
parent | 342fc4cfb427e48abc57fb8b7e8dbfb338f724d4 (diff) |
Moved register_ber_syntax_dissector() and register_ber_oid_syntax() from
proto_reg_handoff_* to proto_register_*.
svn path=/trunk/; revision=33345
Diffstat (limited to 'epan/dissectors/packet-x509af.c')
-rw-r--r-- | epan/dissectors/packet-x509af.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/epan/dissectors/packet-x509af.c b/epan/dissectors/packet-x509af.c index 530fcc7bef..5994cb6737 100644 --- a/epan/dissectors/packet-x509af.c +++ b/epan/dissectors/packet-x509af.c @@ -1284,6 +1284,14 @@ void proto_register_x509af(void) { proto_register_field_array(proto_x509af, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); + + register_ber_syntax_dissector("Certificate", proto_x509af, dissect_x509af_Certificate_PDU); + register_ber_syntax_dissector("CertificateList", proto_x509af, dissect_CertificateList_PDU); + register_ber_syntax_dissector("CrossCertificatePair", proto_x509af, dissect_CertificatePair_PDU); + + register_ber_oid_syntax(".cer", NULL, "Certificate"); + register_ber_oid_syntax(".crt", NULL, "Certificate"); + register_ber_oid_syntax(".crl", NULL, "CertificateList"); } @@ -1308,7 +1316,7 @@ void proto_reg_handoff_x509af(void) { /*--- End of included file: packet-x509af-dis-tab.c ---*/ -#line 127 "packet-x509af-template.c" +#line 135 "packet-x509af-template.c" /*XXX these should really go to a better place but since that I have not that ITU standard, ill put it here for the time @@ -1351,13 +1359,5 @@ void proto_reg_handoff_x509af(void) { register_ldap_name_dissector("arl", dissect_CertificateList_PDU, proto_x509af); register_ldap_name_dissector("crossCertificatePair", dissect_CertificatePair_PDU, proto_x509af); - - 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); - register_ber_oid_syntax(".crl", NULL, "CertificateList"); - register_ber_syntax_dissector("CrossCertificatePair", proto_x509af, dissect_CertificatePair_PDU); - } |