aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cms/packet-cms-template.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2004-07-23 07:08:14 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2004-07-23 07:08:14 +0000
commit73f560c866156a061354d75a76f43ce74608449b (patch)
tree9717b1e23e8a35f28311e42373729a9808074de8 /asn1/cms/packet-cms-template.c
parent267b501cae8bfa5e614ed05179422dd5acae86d0 (diff)
register ber oid functions through a special function in packet-ber.c which also takes (still unused) the name of the oid
so that sometime later it will be easy to add code to add the name of the oid to the dissection. svn path=/trunk/; revision=11478
Diffstat (limited to 'asn1/cms/packet-cms-template.c')
-rw-r--r--asn1/cms/packet-cms-template.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/asn1/cms/packet-cms-template.c b/asn1/cms/packet-cms-template.c
index 0a5e6869c8..eae4c3ada9 100644
--- a/asn1/cms/packet-cms-template.c
+++ b/asn1/cms/packet-cms-template.c
@@ -82,10 +82,6 @@ void proto_register_cms(void) {
/*--- proto_reg_handoff_cms -------------------------------------------*/
void proto_reg_handoff_cms(void) {
- dissector_handle_t SignedData_handle;
-
- SignedData_handle=create_dissector_handle(dissect_cms_SignedData_callback, proto_cms);
-
- dissector_add_string("ber.oid", "1.2.840.113549.1.7.2", SignedData_handle);
+ register_ber_oid_dissector("1.2.840.113549.1.7.2", dissect_cms_SignedData_callback, proto_cms, "id-signedData");
}